Update to Grails 2.2.1; improve BuildConfig.