EAGLESIX-2651: Mod: sync w/ 2.6.5 code, fix tests

Updated Mod expression and tests from 2.6.5 source code.

Here are the original source code files for reference:
* https://github.com/mongodb/mongo/blob/r2.6.5/src/mongo/db/pipeline/expression.cpp#L1561