Import Tom Wu's version 1.4.

* Fixed variable name collision between sha1.js and base64.js.
* Obtain entropy from window.crypto.getRandomValues where available.
* Added ECCurveFp.encodePointHex.
* Fixed inconsistent use of DV in jsbn.js.