Caching of dependencies in AWS to speed up builds

This should significantly speed up build times for Travis.