Fixed bug in a test
Removed dead code from a test
getMetadataField is now in DatabaseDocument interface
Added @Override to MongoDocument.getContentField
Added support for atomic insert of documents with attachments

Fixes #198