make html valid

1) Make the html valid.  There were two types of invalid html:
   * unclosed elements.  For example, <br> is now <br/>
   * empty attributes.  For example 
      <input type="file" name="files[]" multiple ng-disabled="disabled"/>
        is now
      <input type="file" name="files[]" multiple="" ng-disabled="disabled"/>

2) JavaServerFaces does not recognize &nbsp; or &copy; changed to the numerical equivalent.