Use travis_retry to reduce false negative test results on Travis

See http://blog.travis-ci.com/2013-05-20-network-timeouts-build-retries/

Thanks to Mateusz Kowalczyk for the tip.
Merge pull request #192 from ian-ross/travis-retry

Use travis_retry to reduce false negative test results on Travis