CMS-3617 LiveEdit - Move logic in Highlighter.ts and Selection.ts into ItemView.ts

refactored Highlight.ts