USERGRID-2806: added checks to ensure that we have valid configuration before we try to send any data to server.
Merge pull request #28 from apigee/usergrid-2806

USERGRID-2806: added checks to ensure that we have valid configuration b...