Adding triggers of custom events.

The idea is that PinchZoom triggers custom events so they can be handled externally. Events names can be customised.