Moved imports to startup.py.
Merge pull request #5177 from edx/usman/fix-xml-imports

Moved imports to startup.py.