Refactor CI for faster builds with container-based infrastructure and Docker (HT @datakurre)

See: http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/