More support for Tab Badges

Added support for Tab Badges into tabBarController and tabBarView.
Cleanup in angular directive

Removed a log and an unused old variable.
Added unit tests for TabBar badges and tabControllerItem

Added unit tests and adapted old ones to test correctly the Tab Bar
badges.
Added unit tests for tabControllerItem (also with badge tests).