Fixes for Dispersy core changes

Singletons no longer exists in Dispersy, hence the dispersy instance
is given as an argument when communities are created (instead of
calling Dispersy.get_instance).