fix macroresolver error from eltdetail template

Define output_macros as a class variable instead of an object variable
Fixes problem found in shinken-monitoring/mod-webui#88