add custom class to form_errors rendering

This is useful to render the errors with bootstrap builtin classes.

For instance I'm rendering errors using:
```
<div class="has-error">
  {{ form_errors(form, hiddens=False, class="help-block") }}
</div>
```