Badge numbers need to be an integer, not a string

When they are sent as a string, it doesn't work - apple seems to just ignore the value.