Added support for applicationCache to allow Chrome apps to run offline. This needs some more testing.