Use web workers to compute SHA256

A new pull requests with local branches for #473. Address/fixes #186.
Why rewrite into callback style? Leave in blocking style.