Remove some debug information.
Set exiting flag on Database.close().
Pylint friendly imports.
Removing batched tasks and safer Dispersy.stop().