Added support for a data-confirm attribute

If you put a string in the "data-confirm" attribute of a link (or the "confirm" option), then the link will only do something if the user confirms the action. This is handy for "delete" links.