BK-1195: Implement chapter history tab

Hi,

A few things to note. onDeactivate functions were not being used and had to implement it on the tab change event, by the way that the activateTabs method is made it makes it difficult to call onDeactivate when switching content, I worked around this by using custom triggers.