Restore selected files in original form after successful iframe submit

The current version of the plugins leaves file upload fields empty after the iframe was submitted. This can lead to problems if multiple file uploads are validated on the server. If one upload fails to validate all selected files are gone and have to be selected again.

With the code change a reference to the cloned DOM node is stored in the original node and gets replaced with the original node before the iframe is destroyed.