Add support for `data-confirm` attribute on `button` elements.

This should be supported as the `button_to` rails helper produces
the expected `data-*` attributes.

Closes #352.