Badge value should be sent as integer or string

The UrbanAirship documentation indicates that when not using "auto,+1,-1" you should send integers in JSON and not strings. So I made a change to the payload to accept either string or int and serialize appropriately. This fixes a bug in badgeing