Modified to throw if an element is not enclosed within a form in IE.

This ensures consistent behavior to other browsers.
Increasing timeout for asynchronous JavaScript execution.

This allows more time for automation atoms to complete their operations
before timing out.
Updating .NET form handling tests