Crypto - Refactor to allow for future state in the crypto lib

Now that we are thinking about adding "state", https://github.com/aerogear/aerogear-js/pull/76 and https://github.com/aerogear/aerogear-js/pull/77  we need to refactor the main crypto bits to now be instantiated.

This way variables won't leak