Added a required attribute to the tag input field.

If the required attribute is not set, a new Tag element is created with no content if the input field is empty.
Probably needs to be checked to be not empty on the server side too.