Support for mongo aggregation framework

I've modified the package to support the new aggregation framework with an "aggregate" command.