Set content type for TextResult.

Problems with encoding in TextResult without setting http response content type.