Added handling for $html4.structural.elements parameter that lets you toggle on/off whether to convert <section>/<figure> to <div> for HTML4 compatibility.
Fix typo in predicate.
Fixing typos in attribute value specifications.
Special handling for figure, if converting to <div> for backward compatibility.