Grails 2.4 upgrade.

I've applied the necessary changes to get the email confirmation plugin to work with Grails 2.4. The essential code change is with replacing the deprecated ApplicationHolder class with Holders. The rest of the changes are miscellaneous just to get the integration tests to work in Grails 2.4.