1. Fixes #0000083: Ability to enter sql queries and phrases as custom field options.
2. htmlspecialchars function (in javascript) wasn't applied on options added in MInput control (inp_edit_minput block).
3. Commented-out code removed from kModRewriteHelper class, because was proven, that code if uncommented doesn't provide any upgrade to current url parsing functionality. In other words - all works without it in all cases.
INP-71