Expose a hide on click function

This allows for element-targeted closing of the popover (e.g. via a close button within the popover template).
Merge pull request #8 from pads/expose-hide-function

Expose a hide on click function