Added package GetDebugger API call (ref #166).
Reverted 5268b5f as flat namespace created OSX issues (fix #270, fix #264).

This breaks lua-dist support for Lua 5.2 on OSX (ref #225),
which should be fixed with wxwidgets upgrade (ref #260).