Added date relative functions for apiStatistics.js.
Added numerical handling for gt / lt Mongo parsing.