Adds error handing

Fixes the issue where calling a contact that doesn’t exist does not
return anything.

Now returns result code according to [this blog post](http://www.activecampaign.com/blog/detecting-api-errors/) on detecting API errors