C API support for module loading/unloading
node_cleanup: stop, cleanup, free all blocks and modules
lua: use C-API module handling