Reworked binding function to manipulate that.data.model directly as the binding paths didn't seem to work otherwise.  Also added sensible support for radio button groups both in terms of reading and setting values.
Renamed generic "record" template to match the layout/page it's used with.
Moved "binding" library to a separate file.
Moved "binding" library to a separate file.
Renamed generic "record" template to match the layout/page it's used with.
With advice from Cindy, moved code that needs to load after templates to its own event and listener, and removed unused bits from previous approaches.
Restored support for optional "defaultValue" field.