Unbreak master page rendering in ODPs.

Restricted the `z-index: 1` hack for draw|frame to
frames within office|text, since it was intended for
ODTs in the first place.
Merge pull request #531 from adityab/zframe

Unbreak master page rendering in ODPs.
Make html files of editor and viewer HTML5 validated

Check done with http://validator.w3.org/check