{{action}} will target a templates controller

If a function whose name matches an an action is implemented on
a templates controller, that method will be called instead of
delegating the action to the application's current state.

Not sure why a check of `hasOwnProperty` was used, but
it prevented this new behavior from occurring.
Merge pull request #1640 from lukemelia/rebased-pr-1631

{{action}} will target a templates controller. Fixes #1631