Use docker-based environment and dependency caching on Travis CI

- faster VM boot time
- ability to cache dependencies in a free S3 storage
- 4G of RAM instead of 3G in OpenVZ container
- hopefully better parallelism performance (still to be proven)

Related to http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/