Add JsonErrorMixin

This commit adds the JsonErrorMixin for formatting error message from a
given RequestHandler as JSON.
You're right. I don't believe str(raised_error) will work in that case either, since it includes the log_message. For now, just allow a new attribute that can be set as the exposed error message?