[Bug 870178] fetch_appcache and related resource into cache/
support fetch offline path
make exception more specific
Merge pull request #19 from gasolin/fetch_appcache

[Bug 870178] fetch_appcache and related resource into cache/ r=yurenju