Updating when.js to 1.8.1
Removing old crypto lib
Updating cryptojs to 3.1.2 from https://code.google.com/p/crypto-js/
Making build and Crypto code up-to-date.