update .gitignore
Implement support for random port assignment in Tomcat

Detects if grails version is 2.3.1 or newer and if so places
the tomcat kill switch on httpPort-1 instead of httpPort+1
to support the random port assigment (when assigning random ports
to HTTP and HTTPS since they will get sequential ports). This allows
the change to be backwards compatible.