fix upgrade_app.sh - append app specific config to BuildConfig.groovy
use grails 2.3.11 for running Grails 2.3.x functional tests
run functional tests with Grails 2.3.11 and 2.4.2
use correct execution mode for scripts
tests fail with Grails 2.4.x and Hibernate4 without flush:true in save