Added clearBadge which clears the app badge (resets to 0) and updates th...

...e badge value on server.