toolness/friendlycode — pull request #127 by toolness (2012-08-20 14:17:31+00:00)
Title: Backbonify preferences

This refactoring/enhancement uses [Backbone.Model](http://documentcloud.github.com/backbone/#Model) to store preferences. The model's `sync` method uses [lscache](https://github.com/pamelafox/lscache) for local storage.

The text-size dropdown has been changed to use this new mechanism for saving (it previously used lscache directly).

The "show hints" checkbox now uses this mechanism to persistently store its state (previously there was no state-saving across page loads, and the checkbox would always be checked on page load).

Among other things, this also makes our architecture more decoupled and MVC-like.