Add cache and sudo configuration for faster build on Travis CI

http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/
Merge pull request #102 from otahi/improve_travis_ci

Add cache and sudo configuration for faster build on Travis CI