Make html files of editor and viewer HTML5 validated

Check done with http://validator.w3.org/check
Merge pull request #528 from kossebau/validatedHTML

Make html files of editor and viewer HTML5 validated