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 increment the badge with APNs
- Possibility to set a global collapse key for protocol C2DM