Implement a Helper method to generate confirm() links

This allows for overriding the default behavior of showing
confirm()-dialogs in Html and Form helpers.
Merge pull request #1478 from aleho/2.4

Use a protected method to generate confirm() links