USERGRID-2041: added error checking and diagnostics for Android push sample app