Initial support for sort order and command aggregation

Support grouping count, distinct, and findAndModify commands. Query documents and sort order are included in the emitted key when possible.

When aggregating profiler data, system collections are now ignored entirely. Queries on the command collection are considered, and will be included in database and collection views.