Adding registration error callback for Android

If there is an error registering with GCM on Android, the error code is
propogated to ecb in javascript.