Simplify apidoc  to allow for custom renderers via ext
improved erorr handling in api doc controller