http://stackoverflow.com/questions/12337319/mongodb-group-group-and-mapreduce
Port http://www.mongodb.org/display/DOCS/Aggregation