Move mitxmako initialization to a startup module

It is called by lms.startup and cms.startup for both management commands and when run via wsgi

@nedbat @dormsbee: Review?