Added template engine to samples

Added a grunt task to take partial HTML files and merge them with a
template file to create the full sample files. This allows us to
maintain the layout of the samples in one place. During development run
'grunt watch' to have samples automatically rebuilt.