changed luajit includes to be C bindings, name mangling was messing with linker
Small cleanup of scriptmgr, loading from engine to test functionality