Dom transformations no longer "thrash".

Much faster!

Fix for enwiki Soviet Union article (and others surely) issue.

Rebased and fixed edit pencil not showing issue.

Adjusted capitalization and selectors based on comments.

Change-Id: I8181e7de92fbbc3d71eff5a70bc9c8de2d52e670