Update TbTabs.php

Add events register function and fix bootstrap 3 tabs events.