1. GCM sendnotification api is implemented
2. some bug fixes