Revert "Revert "use content hashes everywhere for appcached assets (bug 993919)""

This reverts commit b23d925da62319f1dc3652b18d26174af56b656a.
incremental caching for db and icons/screenshots (bug 993180, bug 993727)