[WIP] Bolean attributes serialization

Added a way to decide what attributes are `boolean`
This refers to xhtml. How are you handling html5 bool attributes that are different? For example, `autoplay` on `<video>`.