create index on communities
simplify the `current_communities` view
simplify the "new participants" query
remove broken and unused function
Merge pull request #2682 from gittip/optimize-communities

Optimize communities