JavaScriptModule: Move meta type decl to ctor.
QScringEngine: This bug was hunted for over 4 hours. I have no idea why the headless windows server crashes on exit if this is not done. Please read the commit content, it has a better explanation, im too tired to even think about this anymore.