Implement generation of click events

Interprets the time interval between multiple mouseup-events of the same
mouse button as click events.
ButtonWidget has on-click event
Merge branch 'ui-semantic-events' into devel