REST simplifications

Handling errors as yesodMiddleware, removing vault mode and using requireJsonBody