use local itemplaterenderer definition to avoid deprecation warnings under pyramid 1.5+