Changed the logic of default selector in tooltip and popover plugins
affects #483 invalidates #485