More targeted removal

Misc changes. Minor refactoring to image weighting. Improved
deriveTextFeatures perf. Added removeTargetedSection function. Now
consider name attribute in attribute bias step. Initialize the doc
element properties. Inlined deriveSiblingFeatures. Rewrote part of
exposeAttributes.