WIP: Add optimization that prunes nested <g>-tags
Created by: nthykier
An optimization that prunes nested -tags when they contain exactly one and nothing else (except whitespace nodes). This looks a bit like removeNestedGroups
except it only touches tags without attributes (but can remove -tags completely from a tree, whereas this optimization always leaves at least one tag behind).
Closes: #215