changed error responses to include and errno
Merge pull request #139 from dannycoates/errno

Error response format change