Added a measurement of LuaLock calls for Lua function calls and webadmin.

Most likely won't even compile on Linux, this is a test-only code.