[ticket/10866] Fix INCLUDEJS errors

Allow INCLUDEJS to parse complex script URLs correctly

PHPBB3-10866
[ticket/10866] Unit tests for complex INCLUDEJS URLs

New unit tests for complex INCLUDEJS URLs

PHPBB3-10866
[ticket/10866] Check for existing assets_version

Do not add assets_version to URLs that already have it

PHPBB3-10866
[ticket/10866] More INCLUDEJS tests

Tests for assets_version and external URLs

PHPBB3-10866