changed getTemplateData to also include the view options in the template

Pretty much what the title says, pretty quick simple change.  This allows us to set an option in a template, and have that information passed into sub-templates, without having to specifically pick and choose options per subview.