Mod tracing support

Config settings:
tracing = true/false (gather mod statistics)
detailed_tracing = true/false (break mod times to callbacks)

Chat commands:
save_mod_trace saves current statistics in debug.txt and shows on console (on default loglevel)
Very redundant. This can be done with way less code.