Offline application cache

Here's support for the Offline Application Cache specification. I didn't have clear idea on what would be your preferred approach to configuring the directory where the SQLite files are stored so feel free to provide feedback on that.