Add JsonErrorMixin

This commit adds the JsonErrorMixin for formatting error message from a
given RequestHandler as JSON.
s/statsd.RequestMetricsMixin/json_error.JsonErrorMixin/ ?