make tabs generate hide and hidden events

Hi, this updates https://github.com/twitter/bootstrap/pull/4832 against 3.0.0-wip.

My use case: a tab contains a video.  I want to pause the video when the user switches away from the tab.

Sorry for the delay, somehow I missed the github notification.