Added IconBadge class to handle all icon badge setting things.
Removed icon badge stuff from app delegate.