htmltextarea: Fixed some value_changed issues

Also modified tests/html/textarea.html to allow for the testing of the
textarea's dirty value flag.