Core: Upgraded C2DM class to GCM.

Renamed c2dm class to GCM, together with its conf file. Furthermore,
adjustments were made to the class so that it complies to the new
GCM architecture, flow and policy.