Polyline click support

Adds very simple support for click events for the polyline directive.

Setting the click attribute of a polyline directive sets a click listener.