Add support for GCM multicast messaging

Messages with same event/lang/options are accumulated until they reach
the maximum amount of tokens per message of GCM (1000) or after 500ms.