Implementation of env/variable resolution for options and JVM options

Implemented env expansion for options and JVM options.
Added IDEA project files/dirs to .gitignore