Handle missing error_code from API response

Alternate fix for https://github.com/wepay/PHP-SDK/pull/10
Merge pull request #11 from Firehed/master

Fix handling of api responses missing error_code