Update cursor and selection APIs

This is the implementation of https://github.com/atom/api/pull/7

This will result in a pretty big slew of deprecations in external packages. I want to get this out there and see how people deal with it. 

Feedback if you wanna.