isolate gem environment if gemPath is null

- unset GEM_PATH and GEM_HOME
- set GEM_HOME to first path-segment of GEM_PATH if gemPath is provided
- set environment directly on JRubyInstanceConfig instead of using evalScriptlet
IntelliJ doesn't seem to want to let me change the order of these imports. Oh well, it wins today.