added support for bidi numeric shaping, ticket #18395

This is part of changes we did to support Bidi numeric shaping. Changes involve dojo stream and dijit stream. Reference ticket is #18395.
The changes we introduced uses and algorithm that convert numerals between Arabic and European languages. For the dijit part, we basically modified the _TextBoxMixin to support the changes.