Fix exception in options.js on first run

Fixes #22 Uncaught ReferenceError: getRandomBytes is not defined
options.js:41
Merge pull request #23 from liliakai/fix

Fix exception in options.js on first run
last(?) round of crypto.js AB-type-conversion changes, new tests
FINALLY report crypto, etc errors to console thanks to promises...
promises, type conversion errors
Generate and submit registrationId, fixes #25

If we're expecting to get registrationIds from others, it's only fair
that we also supply our own.
Fix decryption of large messages (eg w/ attachments)
Fix old chain deletion
Also delete chain key
Multi-session storage for close/regular message race conditions
Stop an attacker from closing a session that isn't theirs (#29)
Merge remote-tracking branch 'lilia/master'
THOUGH SALL USE TABSTOP AND SHIFTWIDTH 4 (so that indents read right)
Clean up session retreival (fixes #30)
Check registration ID on prekeymsg
Fixup last commit
Update to jQuery 2.1.1 + jQuery pull #1525
Fix interpretation of prekeymsg.registrationId
Commit broken attachment loader (S3 403s I can't figure out...)
Fix attachments