Detect differences in locale system properties as an incompatibility with the current environment.

 +review REVIEW-5061
GRADLE-3145 - Respect command line system properties that represent immutable JVM runtime options (e.g. file.encoding).

There should now be no difference between such a property being set on the command line, environment vars, or gradle.properties.

 +review REVIEW-5061
Fully qualify class to avoid clash with class with same name in JDK 8.