Add support for 'substr' string operator.

Currently in Azure Mobile Services the `substring` method for strings in JavaScript is converted with the semantics of `substr`. Changing that behavior would be a breaking change, but we should at least support the "correct" method with the same semantics.