Added change handler for checkbox checked.
Renamed api method, added save and updated routes.
Completed save funtionality.

Document is persisted on every change. Not sure how efficient this is at
the moment but API doesn't seem to allow more granular updates.