.gitignore: Add some generated docs to the ignore list.
lua: Add the list-registered.lua example module to show using the C API from Lua.