Adding support for a pre-aggregation pipeline, and for first and last operators for Mongo2.
Merge pull request #165 from grokful/master

Pre-aggregation pipeline support