Detect grails by the presence of `application.properties`.

Previous detection via `grails-app/conf/BuildConfig.groovy` is faulty.
Grails doesn't require `BuildConfig.groovy`.