Tabs .getCurrent, .onTabSelectionChanged, .getAllTabs for Chrome and FF

This branch now contains the changes for all three tab functions in both Chrome and FF.
I would like this 'todo' to be implemented before merging to master.