Make menuitems with checkboxes work (need type: "checkbox"), also add autocheck support
getAttribute('checked') returns a string, not a boolean.
Fix menuid setter by adding missing parameter to forEachMI() call.
Fix some typos.
Merge from diox/master.
Add some tests.
Menuitems supports observes mode.
Add autocheck tests.
Add observes test.