Imported GCM service to the client.

Updated permissions and set a receiver for incoming GCM messages.  Also
checked if google play services are enabled on phone.  Messages are not
handled at the moment.