Add simple utility function to check if two sets are equal
Hover: update content when moving over a new highlight

Changed hover behavior so that when the mouse moves over a new highlight,
the annotations displayed in the hover are updated accordingly.

Fixes #222.
Merge pull request #330 from hypothesis/122-hover-backport

Backporting the fix for #222 to 1.2.x