Implement selectAllNoScroll per Marijnh's suggestion

To @njx 

See discussion https://groups.google.com/forum/?fromgroups=#!topic/codemirror/bJNFYJoNq6M.

Note that we can ditch our document visual range checks now that upstream-master CodeMirror has the newest doc/editor separation.

Closing prior implementation in #2680.