Initial support for sort order and command aggregation

This builds upon changes submitted in #5 and #6.

When aggregating queries and commands, the sort order and some command options are now included.

Although findAndModify is supported, its update/remove options are not emitted. Doing so would require processing of newObj parameters (similar to how query skeletons are generated); however, that may be outside the scope of a *query* profiler.