added form validation javascript
fixed broken functional test

testGreetingForm was using nameField.setText, which does not fire DOM
events.  Changed to nameField.type...
added functional test for Javascript-based validation
Merge pull request #10 from ceharris/formValidation

HG-10: form validation