function wrapper for render_template

on every view the lti object is now available (called lti)