Remove usage of deprecated APIs
Use getActiveTextEditor instead of getActiveEditor
Merge pull request #26 from atom/ns-modernize

Remove usage of deprecated APIs