Mark required model attributes as required input fields in HTML

The HTML helper for active input fields should automatically mark required fields. Therefore I've extended the HTML helper methods and wrote tests for every case.