checkedflag cleanup, prepare merge of select-option

They are both doing something very similar: maintaining the state of a
control on a parent element label/span.

I need $(...).patCheckedflag('toggle') and ('set', true/false/value).
merge select-option into checkedflag
form reset test for select data-option
checkedflag: API to set select and checkbox controls

the state on the label/span is maintained