gcm: fix `devicesGone` event

Fix the GCM provider to send an array of registration ids in the first
argument of `devicesGone` event.

Close #36, close #37.