SERVER-5932. Add an option to Collection.aggregate since MongoDB 2.4 errors when the cursor option is passed.
Another option would be to use the buildInfo command to figure out what server version we're talking to, but that may require elevated privileges.
- depends on
SERVER-5932 support cursor based aggregation
- is depended on by
DRIVERS-98 Aggregation command can optionally return a cursor