Merge pull request #39 from AntonStoeckl/fix-logger

Fix logger
Merge remote-tracking branch 'remotes/upstream/master'
wrap _id with idToMongo() method in the save() and delete() method so it works with string representations of the _id
added tests for the change in generated repository that wraps _id in idToMongo() for save() and delete()
fixed and simplified some tests
Merge branch 'upstream-master'