fix bug of key conatains dot

When I used mosca, I found an exception that key contains dot in mongo.js. After some modifications of the update and search operation of mongo db, it was fixed.
By the way, I don't know why the exception would appear, as I searched  on the internet and found that there was no problem using dot to perform nested search.