Clear badges

Some dock implementations see difference in no badge and empty badge, so I implemented a clearBadge method.