Merge pull request #31 from codedust/master

Fixed 'TypeError: Promise.resolve is not a constructor' in Firefox
Rename some things to be a little more semantic

The 'sender' field actually holds the recipient for outgoing
messages. Rename that field to 'person', indicating the 2nd
party generically.

Also decouples the thread name from thread recipients at the
view layer, in preparation for group support.
DRY up PushMessageContentProtobuf construction

Messages now know how to protobuf-ify themselves.
Move message saving out of helpers.js
Minor css tweak
Fix, display (image) attachments
textsecure.storage, chromium.js
Fix broken registration flow

Better load the functions defined in chromium.js before trying to use
them. Hmm.. also, options.js should probably wait for the DOM to load
before it tries to initialize things in it.
fixed a typo in options.html

i hereby license my contributions under any GPL
Merge pull request #32 from jerkey/patch-1

fixed a typo in options.html
Fix Uncaught ReferenceError: isRegistrationDone is not defined
Fix a couple things broken in d9bf0a4

Slight revert from said commit. We really do need the
IncomingPushMessageSignal protobuf at the UI layer, mostly because
it contains the 'source' attribute, without which we don't know
who sent the message.

Also fix a crash when there are no attachments on a message.
Updated README

Added info on how to develop
Fixed typo so list is a proper bullet list now.
Merge pull request #34 from James-Firth/master

Updated README with developer info
added permissions for Cross-Origin XMLHttpRequests