Bring in copyEnvironment and prependClasspath from old Gondor so we can handle PATH nicely.
Update workspace for IntelliJ but we need to quit doing this...