Note to code reviewers: The section below makes it so if a controller sets a default template engine to mustache, renderPartial will respect that setting.