Fix minor wrong header included
Add ifdef/ndef to mogvoptions headers
Added mogvModuleRegistry hack
updated testProxyRegister and used this to fix mogvModuleRegister