Retry API, standardize <script> list
moved some chromium-specific code into chromium.js (using extension.navigator namespace)
improved some css for options.html
phased out some more inline styles
Merge pull request #46 from codedust/optionsCssImprovements

improved some css for options.html
Merge pull request #45 from codedust/extractchrome

moved some chromium-specific code into chromium.js
Minify CryptoJS dependencies

Closes #18
Update dependencies in popup.html and test.html
Covert spaces to tabs
sendMessage refactor, initial group stuff (breaks message storage)
Merge pull request #47 from rpicard/minify-deps

Minify CryptoJS dependencies with uglify-js
Fix CryptoJS minify
Fix options
closeSession
Group API
Some group update verification
Fix incoming message display/storage

There were a few problems.

1. The message event was being triggered in background, not popup
2. The initial message/thread fetches from localStorage were mis-ordered
3. The timestamp wasn't being extracted from the right place
4. #3 caused messages to fail validation and not be saved

1-3 are fixed. To address 4 I switched validate() to log a warning
instead of preventing save.
Fix double display of outgoing messages
Group updates to match real protocol and get better checking
Keep track of number->groups, add TODO to refresh, other tweaks