add gradle javadoc task memory options to fix occasional mem alloc failures on Travis CI
use https to repo.grails.org
make Travis build fail if upload task fails
add Travis after_failure script that uploads working directory to S3