Added missing return this to hide() for popover

This is the same as issue #26, but for popover instead of tooltip.

Also fixed a bug where the hidefunction for Tooltip was used instead of
the one for popover.

Tested in Chrome only.