Add IntelliJ specific stuff to .gitignore, but also ignore resin.jar in root
Use a variable instead of hard coded directory in pom.xml