Point GROOVY_HOME to homebrew groovy

Installed the latest version of Groovy from homebrew which installs in
/usr/local/opt not /usr/local.
Configure RVM if installed

If RVM is installed configure it.
Ignore gradle directories

Groovy projects use gradle for building (I like it for Java projects
too), but none of it needs to be edited so ignore it.