Moved legacy functions into API and added browser action with badge
Merge branch 'master' of https://github.com/JamesRottinger/TwitchSwitch