Dismiss unexpected alerts when closing browser

Though browser closure through the browser event has been able to handle
unexpected alerts for some time, the restart test machinery was missed
(since it's handled at the VooDooDriver level).

This change fixes that omission.  Also, since the FirefoxDriver doesn't seem
to actually throw UnexpectedAlertExceptions in the presence of unexpected
alerts (it throws a JavaScript Error(!)), the scope of exception handling
is expanded to WebDriverException.

Testing done:

Ran a test with one script leaving an alert open prior to running a
restart test.  Both firefox and chrome handle that now.

Conflicts:

	src/org/sugarcrm/voodoodriver/EventLoop.java
	src/org/sugarcrm/voodoodriver/Reporter.java
Append to voodoo.log

VDD's voodoo.log output file was being created anew with each run.  When
there's only one output directory per run, that is fine, but on jenkins,
the output directory is reused which meant that only the output of the last
run was being preserved.

This change adds the append flag to voodoo.log creation, ensuring that all
output is captured.

Testing done:

Ran VDD multiple times with the same output directory.
Add window maximize/restore support to VDD

This change adds to VDD the ability to maximize and restore the browser
window.  In order to do so, the browser event is used like so:

   <browser action="maximize"/>
   <browser action="restore"/>

In addition to this functionality, a new command line option and config file
cmdopt have been added, --maximizewindows and maximizewindows, respectively,
that, when set, automatically maximize all browser windows as they're
created and get the focus.

Testing done:

Ran test scripts that exercised the browser actions, and that tested
the auto-maximize of both primary windows and attached windows.

Conflicts:

	src/org/sugarcrm/voodoodriver/Event/Events.xml
	src/org/sugarcrm/voodoodriver/EventLoop.java