Some improvements to Travis CI output

 - Download everything in the install script so the main script isn't littered with downloads
 - Set term so gradle doesn't try to update the display like an interactive one
 - Show exception when a trest fails so you can see what went wrong