[testing] Use canonicalized selection rather than scripted selection for Chrome compatibility.
Introduce |SelectionTracker.prototype.finishWithStartAsAnchor()| to set start boundary point as selection anchor.
createLink: Utilize |SelectionTracker.prototype.finishWithStartAsAnchor()| for Chrome compatibility.
Editor: Get rid of unused function |getDomSelectionAsChrome()|.