API changes: introducing selector descriptors

Now you can register your custom functions to create selectors
out of (any kind of) raw selectors.

Annotator's `onSuccessfulSelection()` function now expects to
find `segments` inside the passed event, instead of `targets`.
(This data is passed by the selection UI code.)

The creation of targets is no longer the responsibility of the
UI code which detected the selection; targets will automatically
be created my calling the registered selector descriptors on
the passed segments.

Also separated TextRange, TextPosition and TextQuote plugins
(which contains the corresponging selector descriptors)
from the TextAnchors plugin.
Merge pull request #55 from hypothesis/selector-creators-1

Introducing selector descriptors