add xpath script to dev.html
Fix dev.html for tools/serve + annotator-store

- Moved dummy token server from :5000 to :5001, to faciliate peaceful
  cooperation with a real annotator-store server.
- Changed the URL passed to the store plugin to match the one actually
  served by the back-end.
Merge branch 'master' into develop
Added libraries needed for fuzzy matching
Added some error handling
Updated tasts for range
Added error handling
Start to unbreak
Start to patch up test for Annotator
Fix up some dependencies, build and init stuff.
Restored the standalone 'quote' and 'ranges' calculation.
Updated auth token handling code to accept the tokens generated by the current version of annotator-store
Revert "Updated auth token handling code to accept the tokens generated by the current version of annotator-store"

This reverts commit ee503c652926e6ac21f718d6527b52cc4726d13c.

(It turns out that I managed to "update" the code to handle the obsolete format, instead of the new one.)
set up matching after the wrapper
update dom-text-mapper to 740d6b8
[tests] attach annotated element to document

dom-text-mapper creates real browser ranges and that requires that
the selected nodes be rooted in the document and not detached.
add getSelectedRanges back in for compatibility
documentation comment for getSelectedTargets
getSelectedTargets: actually ignore null ranges

What follows the check should be an else clause.
restore rangeNormalizeFail event