Run Teamcity on JDK 1.8
Merge pull request #6997 from guardian/tc-java-8

Run Teamcity on JDK 1.8