The easiest GoogleCloudMessage example I found. Based on example code, with server-part in php