enabling Protected to just use raw set/toJSON body data. useful if we have raw data, no keys, and we just need to save raw data (and at no point decrypt the data). should help with some indexeddb changes coming up
fixing potential null db error
intermediate commit: not quite finished, but making lots of progress. user joins plus model adds/edits/deletes are now flowing through IDB. everything loads from IDB on login. working beautifully so far. need to create local -> remove syncing and remote->local syncing though, so not there yet at all.
adding a tad bit margin to <code> blocks in .content class
Merge branch 'master' into local
stubbing some syncing crap. probably a broken commit. havent refreshed in a while
Merge remote-tracking branch 'origin/local' into local
some sync model changes/comment updates
adding error handling to IDB open (with link to help page on fixes). also, instantiating sync model on user login.
adding some barfr tweaks: the only <a> thats bound is the a.close, and the <li> tags now truly unregister their callbacks (cant unbind with arguments.callee AND use function.bind(this)...just doesnt work)
Merge remote-tracking branch 'origin/master'
Merge branch 'master' into local
some renames/tweaks/updates/etc. commit is more broken than, well, something thats definitely broken. getting there, though.
rename sync to _sync (ha, great dep system...)
more incremental syncing changes. starting to flesh out the local/remote syncing. also, updated db.js to support atomic ops
removing console.log in db.js
Finishing the breadth of syncing/local db changes

- Models now save to IDB, marking their last_mod time and local_change=1
- Models sync anything in IDB that has last_mod > last_sync time to
  in-mem data.
- Anything with local_change=1 is synced out to the API, and the return
  data is saved to IDB w/ last_mod set
- Every 10s, POST /sync is called, and any returned items are saved to
  IDB.
- Deleted items are marked as deleted=1, which the local sync
  understands as "delete me" and does so. Items with deleted=1 are kept
  around until the remote sync runs, making sure they're all safely
  deleted on the API, then all deleted=1 records with a last_mod > 10s
  ago are removed completely. the 10s lag time allows other pieces of
  the addon to sync the deleted items to in-mem.

Other updates:
- there is now a standard SyncCollection that handles about 90% of the
  syncing process (both local and remote). it encourages implementation
  of process_local_sync, which is almost exactly the same as the
  respective pieces of Profile.process_sync.
- Protected models now have a "raw_data" mode which when set disables
  all encryption/decryption. this is great for syncing, where access to
  the in-mem models (and their keys) is discouraged, and we never need
  to decrypt the data anyway since all data flowing between IDB and the
  API is already encrypted. this lets us extend the functions of the
  usual models without worrying about (de)serialization.
- trackers are now called in the order added (bugfix)
Commenting updates, mainly. Commenting out old Profile.*sync functions. removing some console.logs
changing auth error in tcrypt to reflect the fact that the key might be wrong
Merge branch 'master' into local