Allow formToArray and ajaxSubmit to work on non-form tags

This allows for `formToArray()` and therefore `ajaxSubmit()` to work on arbitrary elements and not just `<form>` tags without enabling semantic mode which has other side effects.

I checked for other consequences but haven't found any. Tested in IE/Chrome/Firefox.