Add validation for MOD operator
Add validation for MOD operator

- Argument must be an array containing two number elements
- Fix spelling mistake in a LogError call
- Add validation check for division by 0
- Add $mod argument normalization

jhs/CDTDatastore,jhs/CDTDatastore,phatblat/CDTDatastore,cloudant/CDTDatastore,jhs/CDTDatastore,phatblat/CDTDatastore,cloudant/CDTDatastore,phatblat/CDTDatastore,cloudant/CDTDatastore,cloudant/CDTDatastore