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 inherit from specified, when "selector" option is present. 

Also fixes #8308