Added generica mongodb command support.

Also added dropDatabase command.
Added new methods and corresponding unit tests.