fixing jquery-ui.tab deprecated select event and method

Select event renamed to 'beforeActivate'.
Select method deprecated in favor of 'active' option