allow setting of grails.dependency.cache.dir

Support for setting maven repository cache directory by using the
environment variable GRAILS_DEPENDENCY_CACHE_DIR.

This only currently works for Grails 2.4.4.