1. Fixes #0000333: Issues in URL structure for Sections.
2. Current theme was not used for category/template detection during mod-rewrite url parsing.
3. Category wasn't auto-guessed, in case, when physical template name (not it's name by structure) was passed in url.
INP-281