Adjusted tests for the dataType usage.

Updated jQuery for the test page.
Allow reenabling the submit button in the submit callback. Closes #2639
Updated Gallery requirement.
Updated package versions.