Add a new Event called QJsDelegateEvent that allows for event delegation

This event takes the event name + plus a selector (optional) to filter events delegated from child elements to the parent where the event is bound. This can greatly reduce the produces javascript code plus it works for all child elements added to the parent in the future.
This event has been described in  issue #19.