proper initialisation and shutdown of distribute block.
Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel