Work in progress for support of Kepler the current nightly.
Try to use presentationCompiler method instead from Mirco's open pull request.
Changed to catch for Throwable so that it'll catch them all.
Changed to use ScalaPresentationCompilerProxy, and cleanup some deprecation warnings.
Rewritten code that uses presentation compiler.