debug/documentation

Reworked the debug system to remove dependencies and increase
extensibility.
Added more documentation to each function and to 'docs/' files
Added lua_CFunction examples