EZP-21657: Created FooterController and refactored CriteriaHelper and MenuHelper to be more consistent

One should avoid passing hardcoded parameters to sub-controllers from templates, especially when controllers are supposed to do only one thing.