Half of the unit-tests fixed
Redid the Dispersy unit-tests, they are still a mess but at least
running with their own database/dispersy-instance/callback-instance etc.