Make the plugin compatible with jQuery 1.9

* Remove references to $.browser (do very basic browser detection with
  navigator.userAgent instead)
* Modify how the selection area handles are appended to the document (the
  previous approach was apparently broken by jQuery 1.9, not sure why)
* Update tests