refactor CM_Service_MongoDb into CM_MongoDb_Client
check mongo responses for errors
include insertId in insert-response, if no _id field is passed
fix batchInsert()
enable direct array-expressions to be passed to mongo::insert() instead of only variables
return insertId on mongodb::insert()
minor variable renaming to increse readability
allow passing of options in MongoClient::insert();
return array of ids on batchInsert
return number of documents affected by mongo updates
return number of affected documents on mongo remove operations
adjust result exception
add a few more tests
enable passing of mongoId strings to mongoClient::getNewId()
add test for mongoClient::getNewId()
add test for mongoclient::_checkResultForErrors()
rename getNewId() -> getObjectId() to avoid confusion
Merge pull request #1425 from alexispeter/mongodb-client

check mongodb return value for errors