Inline mapReduce implementation 

@zvictor I've changed precisely the same things as in jhoxray/meteor-mongo-extensions#9 , but haven't tested it yet.