Add travis_retry to sudo apt-get install commands in .travis.yml (rebased onto develop)


This is the same as gh-884 but rebased onto develop.

----

See also https://github.com/openmicroscopy/bioformats/pull/1223