Make count contextual

This pull request makes the word/line count contextual:

    * if text is selected count the selection
    * if no selected text, count the entire document

It also detaches the AtomWordCountView when the editor receives changes. This makes it so you can hit Cmd-C, see the count, and keep typing without y
our hands having to leave the keyboard.