Use SD.Dom for entity context menu.

Note: this does not work yet because the DOM implementation is incomplete.
Fix HighlightingColorizer.OnHighlightStateChanged ignoring some change notifications.
Fix NullReferenceException in ParameterCanBeDemotedIssue