fixed #32 Reject promise for error codes
https://github.com/cloudinary/cloudinary_npm/issues/32