Allow errors from the API to be returned instead of a not-so-useful default error page
Merge pull request #167 from OpenTreeOfLife/api_errors

Allow errors from the API to be returned