Guard against empty response object returned from request() calls; re-factor error handling and add more checks to verify data.
Add custom error for handling error responses from SF REST API calls.
Merge branch 'error-handling'

Conflicts:
	index.js
Merge branch 'custom-errors'

Conflicts:
	lib/error.js
Git rid of merge conflict message.