Exported some private symbols.
Removed the 'db.debug' function because it performs direct I/O with stdin.
Compile lauxlib as C++ code.
Eliminate 'preprocessor symbol already defined' warning on Win32.
Added support for hooking lua console output.