fixes #827 move dropCollection into NamespaceDetails, also move
dropDatabase to a more appropriate location