CRM-12864

generalized the tabs hook so that it could be used for contacts, events and contributions etc