Add an amazing Cache shim stolen from https://github.com/jeffposnick/service-worker-cache