Wait to do the form DOM scans until absolutely necessary
Don't fire ajax:send if ajax:beforeSend was cancelled. Don't disable form elements until ajax:send.
Merge pull request #364 from MoonScript/disable-on-send

Don't fire ajax:send if ajax:beforeSend was cancelled. Don't disable form elements until ajax:send.
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.
Merge pull request #336 from MoonScript/speed-up-form-novalidate

Speed up submit for [novalidate] and [data-remote!=true] forms