Fix dynamic module loading on Windows

Made uforiamodules non-global and imported all module sources
separately in each process. This is necessary because python
multiprocessing works differently in Windows, and the result of
imp.load_source can't be shared between processes.