adding gcm registration api
Merge remote-tracking branch 'origin/master'