Use the ldb global table instead of debug
Fix the install target
Pick the location of the socket from the environment.
First try at handling correctly multiple Lua instances