Fixed form object to load the proper form entity. Updated tests to test both HTML and HTML5 forms . Added magic methods. And cleaned up code base.