Handle empty error response

Gracefully handle situations where capsulecrm returns an error with a blank response. Should resolve #73 
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.