[ticket/13034] Use utf8_basename

PHPBB3-13034
[ticket/13034] Add comment

PHPBB3-13034
[ticket/13034] Update the base url to move to the root dir

PHPBB3-13034
[ticket/13034] Fix tests

PHPBB3-13034
[ticket/13036] Make the reference type configurable when generating a route

PHPBB3-13036
[ticket/13036] Add unit tests

PHPBB3-13036