Supports more elements to use data-confirm and data-method attributes.
Enable CSRF validation by default.
Support ajax redirection.