[ticket/10866] Separate scripts with new line

Puts each script declaration on separate line to make
debugging easier.

PHPBB3-10866
[ticket/10866] Allow ; for separator, IPv6 tests

Allow and detect ; separator for scripts, unit tests for ;
separator and for IPv6 URLs

PHPBB3-10866
[ticket/10866] Changes for parse_resource_path

Moved parse_resource_path() and join_resource_path() to
includes/functions.php, changed components list a bit to
match parse_url() list, added documentation for components list

PHPBB3-10866