[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
Merge branch 'ticket/13358' into ticket/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] Add migration for 3.1.2-RC1
[prep-release-3.1.2] Add migration to update version to 3.1.2
Merge branch 'develop-ascraeus' into develop

Conflicts:
	build/build.xml
	phpBB/includes/constants.php
	phpBB/install/schemas/schema_data.sql
	phpBB/styles/prosilver/style.cfg
	phpBB/styles/subsilver2/style.cfg
[ticket/13381] Fix header intendation of v312.php

PHPBB3-13381
Merge branch 'develop-ascraeus' into develop