Separate out REST and static page rendering.

This commit also brings in some bits of HTML5 boilerplate into the static directory.