Fixed requirejs/jasmine problems

Signed-off-by: Gideon Farrell <me@gideonfarrell.co.uk>
Changed from sjcl to CryptoJS and got rid of testr

Signed-off-by: Gideon Farrell <me@gideonfarrell.co.uk>
Fixed jasmine-ajax dependency.

Signed-off-by: Gideon Farrell <me@gideonfarrell.co.uk>