Commit to fix grails-envers 2.1.0 to make compatible with grails 2.4.0

Changes made to support  grails-2.4.0 and higher.