Refactor "girder.api.docs", to fix documentation and improve maintainability
Refactor "girder.api.docs", to fix documentation and improve maintainability

This also makes the code more maintainable, by avoiding repetition of
code which must always be exactly the same for "removeRouteDocs" to work
properly.

Xarthisius/girder,jbeezley/girder,jbeezley/girder,Xarthisius/girder,essamjoubori/girder,adsorensen/girder,manthey/girder,opadron/girder,opadron/girder,salamb/girder,msmolens/girder,Kitware/girder,jbeezley/girder,manthey/girder,Kitware/girder,opadron/girder,girder/girder,kotfic/girder,kotfic/girder,manthey/girder,data-exp-lab/girder,Xarthisius/girder,sutartmelson/girder,sutartmelson/girder,adsorensen/girder,salamb/girder,girder/girder,opadron/girder,data-exp-lab/girder,data-exp-lab/girder,RafaelPalomar/girder,msmolens/girder,sutartmelson/girder,RafaelPalomar/girder,msmolens/girder,opadron/girder,salamb/girder,essamjoubori/girder,Xarthisius/girder,RafaelPalomar/girder,Kitware/girder,msmolens/girder,essamjoubori/girder,adsorensen/girder,RafaelPalomar/girder,kotfic/girder,msmolens/girder,RafaelPalomar/girder,sutartmelson/girder,essamjoubori/girder,adsorensen/girder,sutartmelson/girder,girder/girder,adsorensen/girder,kotfic/girder,data-exp-lab/girder,salamb/girder,data-exp-lab/girder,salamb/girder,girder/girder,Xarthisius/girder,manthey/girder,kotfic/girder,essamjoubori/girder,Kitware/girder,jbeezley/girder