Use web workers to compute SHA256

A new pull requests with local branches for #473. Address/fixes #186.
Ok, I will move ```nextInQueue``` inside the method. But I would still keep separated methods.