Various fixes.

* Use pointer-events instead of DOM shuffling when getting the target
  drop element.
* Do our own click detection because we can be more accurate.
* Clear transforms on dragend to avoid Z-order issues.
* Only polyfill where necessary.