Faster travis builds

Switch to use container-based infrastructure which results in faster start times.

Cache node_modules folder.