added inbox and badge management client side (can only be used with background mode remote-notification for iOS7 up)