Refactor removals configuration

Now all the aspects of DOM transformation are configured separately,
allowing to control things more precisely.

Change-Id: I432e1a06b736fb2a5b3d4aece294bf59241ec352
Merge "Refactor removals configuration"