Make sure ObjectID type is not parsed as object
Remove the undefined property to avoid mongodb upsert overwrite
Remove undefined for the data to be saved
Add test cases for updateOrCreate/save and fix related issues
Merge pull request #108 from strongloop/feature/fix-mongo-upsert

Feature/fix mongo upsert