Make sub-collections accessible by __getattr__ and __getitem__.
Make sub-collections accessible by __getattr__ and __getitem__.

pymongo supports this:
>>> import pymongo
>>> foo = pymongo.Connection()
>>> foo.db.bar
Collection(Database(Connection('localhost', 27017), u'db'), u'bar')
>>> foo.db.bar['baz']
Collection(Database(Connection('localhost', 27017), u'db'), u'bar.baz')
>>> foo.db.bar.baz
Collection(Database(Connection('localhost', 27017), u'db'), u'bar.baz')
chartbeat-labs/mongomock,julianhille/mongomock,magaman384/mongomock,akun/mongomock,marcinbarczynski/mongomock,StarfishStorage/mongomock,mdomke/mongomock,vmalloc/mongomock,drorasaf/mongomock