[TASK] Allow not showing or hiding a tip automatically

This allows the `hideOn` and `showOn` options to also
be `null` if the tip should not be hidden or shown
on a particular event.

Besides, it corrects a variable scope.
Merge pull request #26 from wishbase/ShowOnHideOnFix

[TASK] Allow not showing or hiding a tip automatically