Allow arbitrary HTML attributes in view helpers

Supersedes https://github.com/walmartlabs/thorax/pull/165 and covers the `expand-tokens` case.