Initialize the Response object in before_request.

It is a more elegant way to set the default status code and content type.