Added community generators

Added community graph generators and tests from old GSOC 11 project.
Merge remote-tracking branch 'upstream/master' into community_generators
PEP8 Fixes
Merge pull request #1035 from bjedwards/community_generators

Community generators