Set boolean value to HTMLInputElement.checked

See http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#attr-input-checked
Merge pull request #1266 from fredj/input_checked

Set boolean value to HTMLInputElement.checked