Allow dynamic badges

Allows the badge parameter to accept a variable binding so it updates
automatically.
Tab badge css fixes

Fixes some problems with some types of tab bars.
Added tests for TabBar badges

Adds tests for the HTML version and the Angular directive.