Bug 941830 - Extend asm.js compiled code caching to Workers (r=bent)

--HG--
extra : rebase_source : 4fed947b2fa76e26054d8293cec31433ceb61c8d