[ticket/12090] Fix parameter list of controller helper constructor

PHPBB3-12090
[ticket/12090] Split finding routes and returning routes into 2 methods

PHPBB3-12090