Clean-up of JITCompiledModule

Put all the logic in one place, making JITModuleHolder little
more than a struct.