Move doc_url function out of edxmako middleware
Read from doc url mapping file at load time, rather than once per request
Merge pull request #2357 from edx/db/move-doc-url-func

Move doc_url function out of edxmako middleware