implementation of findOne and save in java

Now u can use mongo.findOne(query) and mongo.save(obj) in the javascript
(where var mongo = new Mongo())