Correctly apply spring profiles under test

Functionality was accidentally removed with .run-script.sh
Remove unnecessary travis helper script
quiet the gradle dependency prefetch
Try to fetch more dependencies up front