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.
1. Fixes #0000053: Mod-rewrite partially broken. 2. Section and item detail templates were present in links on page, even if they could be automatically determined by category fields.