Avoid reflection when determining the default controller template engine

@lizlux @owend (Not exactly sure why this didn't work the first time for me, but I suspect an ID10T or PEBKAC error)