[FIX] Send correct value for checkboxes

Also, fixed an issue that prevented forms from being set back to pristine after successful update.
Merge pull request #132 from subugoe/fixupdate

[FIX] Send correct value for checkboxes