Pattern enhancement for Grails Version.

 - Upgraded to Grails 2.2.0.
 - Enhanced pattern to handle Grails version 2.x.x.

Enhancement is related to [Grails defect 10117](http://jira.grails.org/browse/GRAILS-10117)