Community generators

This adds the community graph generators added in the GSOC 2011 project. It should serve as a starting point for adding some of the other community detection code in that work.

I've looked over the code, but its been a while, any comments would be appreciated.