Fix Hypothesis integration

Work in progress, still needs styling to create a nice annotation / reading experience. Don't know when I'll find the time to work on it, but wanted to get it out there since the JavaScript is more robust than the hack we had before and could be useful in version 0.3.