Wrong third argument for jQuery.extend breaks tooltips with "selector" option

Third argument in jQuery.extend is not a context and is not documented.
As a result options for new tooltips does not correctly inherits from specified. 

Also fixed #8308