CXX-186 Add group command helper

Adds the ability to use the group command in a convenient way.

The `group` method takes a key object where as the `groupWithKeyFunction` method takes a key function.
Should add a note explaining that group is largely deprecated and that aggregation framework is the way to go.