Implements basics of form models. Fixes validation.

Abstract and basic forms and form elements are implemented, as well as support
for model generation via filled out forms. Validation rules are added and bugs in
the validator are fixed, as well as creating a modified validation class for form
validation. Minor css update for error displaying.