Throw ResourceNotFoundErrors when requesting a nonexistent resource.
Give a 404 when a resource is not found.
Merge pull request #3 from rafeememon/feature/resource-error-api

Feature/resource error api