Bug 994280 - It would be nice to have ability to add badge over button

- Added badge API
- Added unit test
Merge pull request #1549 from ZER0/badge/994280

fix Bug 994280 - It would be nice to have ability to add badge over button r=@erikvold