[ticket/security-169] Stop loop through referer dir in top directory

SECURITY-169
[ticket/security-171] Use type cast helper for json data

SECURITY-171
[ticket/security-171] Sanitize data from composer.json

SECURITY-171
[ticket/security-171] Add tests for retrieved remote data in version_helper

SECURITY-171
Merge branch 'ticket/13358' into ticket/security-171
[ticket/security-171] Modify tests for new file_downloader class

SECURITY-171
Merge branch 'ticket/13358' into ticket/security-171
[ticket/security-171] Remove duplicate semicolon from tests

SECURITY-171
Merge pull request #8 from phpbb/ticket/security-169

[ticket/security-169] Stop loop through referer dir in top directory
Merge branch 'develop-ascraeus' into develop
Merge pull request #10 from phpbb/ticket/security-171

[ticket/security-171] Use type cast helper for json data
Merge branch 'develop-ascraeus' into develop
[prep-release-3.1.2] Update version to 3.1.2-RC1
[prep-release-3.1.2] Add migration for 3.1.2-RC1
[prep-release-3.1.2] Prepare Changelog
[prep-release-3.1.2] Add changelog for 3.1.2-RC1
[prep-release-3.1.2] Increase version number to 3.1.2
[prep-release-3.1.2] Add migration to update version to 3.1.2
[prep-release-3.1.2] Update Changelog with 13376
[ticket/13376] Revert unnecessary change for cookies called GLOBALS 92f554e3

Also introduce a clear cookie message hardcoded just in case.

PHPBB3-13376