Adding support for $maxScan

Adds support for using $maxScan in a Moped query.

Also fixes a bug where applying a sort before another _addSpecial operator could remove that operator (added spec for the $maxScan case, though it exists for $hint too; let me know if you want me to write a test for that case as well)