change LOG_{DEBUG,ERROR,INFO} to support non-const strings and add the possibility of formating strings, like with printk. also only show debug messages if the THOR_DEBUG flag is set
move LOG_{DEBUG,ERROR,INFO} to logging.h