Fix html5 math/stem

See commit messages for details.
This can be written as:

```
.stemblock id=@id class=role
```

If present, the role will be added to the list of roles...unless you are doing this to preserve order.