Form class tests and updates

Still rockin' that XHTML4 nonsense. Updates to HTML5 (sans self closing tags) and added tests.