added BuildErrorsMiddleware. useful with the runner, which is not on master yet.
renamed methods to Render, WriteText, WriteXML, WriteJSON