document class definition with client, db and collection
bad client/db test case added
few more tests for document and nanomongo
pep8 stuff