Fixing Java/Kotlin compilation issues

Merged username-removed-65452 requested to merge java7stuff into master

Enforce use of Kotlin 1.0 StdLib to completely avoid all references to Java8 in the Stdlib.

Edited by username-removed-65452