Added additional checks and logging statements to provide sufficiently more detail for error diagnostics. Addresses USERGRID-1555
Merge pull request #155 from apigee/USERGRID-1555

Added additional checks and logging statements to provide sufficiently m...