Persist settings in local storage.

* Added functions to load and save settings using `localStorage`, so they persist between page loads.
* Added `Setting` pseudo-class for observable setting values. Can be observed using callback functions, and bound to checkboxes.