Bug 877562 - protect appcache hash tables with a mutex, r=jduell