Adds UITabBarController-tapTabAtIndex:

to simulate selecting tabs in a tab controller.  If the controller has a
delegate it tests if it should allow selecting of the tab.
Supresses some 6.0 deprecation warnings