[ticket/11334] Properly generate controller URL until paths issue gets fixed

PHPBB3-11334
[ticket/11334] Add a test for the controller helper URL method

PHPBB3-11334
[ticket/11334] Make url helper method public

PHPBB3-11334