Fix unit test by moving check for Active Line into _setEditorOption()
Add unit test
Merge pull request #4927 from lkcampbell/unit-test-4778

Fix unit test failure from pull request #4878.  Added unit test for hiding Active Line highlight when editor has selection.