Lift RecordCategory and template data into models, update measure list from controller

Assuming record categories can only be added manually, we don't need to
go to the database for them or templates.  This of course may change at
some point.  Provide the full template list to the record edit view.
Revert indent changes in c748cec7
Merge branch 'rec'
Merge remote-tracking branch 'remotes/origin/master' into gui
favicons, finally!
labnanny demo. functional controls. seekbar, seek by offset, playrate adjust. hack for reverse playrate. optimized for chrome for now.