[ticket/11997] Add clean_url() method to path_helper

This method will get rid of unnecessary . and .. in URLs.

PHPBB3-11997
[ticket/11997] Modifiy tests after adding path_helper clean_url method

PHPBB3-11997