Add support for community detection based on Blondel et al. algorithm

Community detection algorithm based on http://arxiv.org/pdf/0803.0476