Added JRubyPrepareGemsSpec. Fixed transitive dependencies for GEMs. 

Lots of refactoring. I have integration test failures in JRubyExecExtensionIntegrationSpec. Trying to track this down atm.