Added support for /offline .  Fixes #175.
Continued progress on #159. Rewrote views.offline to use new model.