Fixes to WebDriver::submitForm

Fixes two issues in the WebDriver::submitForm method:

(1) Inputs with type="password" were not being filled in.
(2) Added check that $el exists before calling getTagName() (without this the test suite would end in a fatal error)