Fixed #705: newer version of jQuery UI used another active tab function. Also a small error in the tab count for active class in the tab itself.
Fixed #705: newer version of jQuery UI used another active tab function. Also a small error in the tab count for active class in the tab itself.

GemsTracker/gemstracker-library,GemsTracker/gemstracker-library,GemsTracker/gemstracker-library,GemsTracker/gemstracker-library