Added basic error views, ensuring all responses are JSON.
Merge pull request #5 from edelooff/error-views

Error views