Merge pull request #367 from kossebau/removeUnmaintainedNowjsServerAdapter

Remove unmaintained adapter to nowjs-based server
Create direct linking between matching annotation and annotation-end elements
Fix incorrect (by pattern) check of compareDocumentPosition result