Creates the form-field directive logic in directives.js, Cleans up some whitespace in form-field.html and corrects typo.