This can be used by Lua code to trace the runtime of their code in the same way the engine already is capable of doing for most in-mission and mission loading code. Also adds some tracing scopes to the libRocket code