Added checks to the tooltip content option for allowing HTMLElement and jQuery objects to be set as content.
Added tests for these scenarios.