Update the unit tests for the Dispersy refactor.
Move all community related methods from dispersy.py to community.py and
update all references. (Commits from Niels also squashed in this one)