Generalisation

Hi @rs,
Unfortunately I do not have much time right now to work on my multiapps branch and integrate your upstream improvements.

This is why I submit these two small changes:
- Ability to disable automatic badge increment with APNS
- Possibility to set a global collapse key for C2DM protocol