Build jar for upsource
Make Kotlin accessible for UpSource.

Extracted some initialization of JetCoreEnvironment.
Buildserver auto merge