Send `locals` as second argument to `res.render`
This allows locals specified by the user to override `res.locals`, which, as a function, has some immutable properties like `name`.  Currently, we're merging all of the user-defined locals into `res.locals`, so those immutable properties are squashing some user-defined ones.
refs #1628