Switch Travis over to gradle

I think I've modified the scripts correctly, though I'm not 100% sure as 3 of the media tests were failing when I tried to run `continuous-test.sh` due to `FileNotFoundError` for "foo.jpg". The test was working fine when I ran from Android Studio