ADD static compilation for selection input elements

USE:
<input type="checked" {checked:$varName[field_or_nothing]} />
<option {selected:$varName}>
make outuput checked="checked"
ADD class static compilation

USE:
{class.className:$bool} => class="classname"
UPDATE