"isDragging" flag from mouse captor in click event

The "isDragging" flag is true if:
 - Some "mousemove" events have been dispatched between the "mousedown" and the "mouseup"
 - There have been more than 100ms between these two events
Also, this fixes #342.