Support feature checks in templates

The template needs the user object (expected to be the session user), and usage is:

```html
{{#feature user "alpha"}}You are alpha user{{/feature}}
```