Add API and tests for setting duration
Add docs about updating duration
Also return default duration when changing duration
Add basic form controls for setting duration
Add missing HTML changes from previous changeset
Add saving of changes to duration
Remove stray console message