Adds shadow implementation of the template

* Ah, to start again on a clean sheet - this is a servers-side
  pimped version of the template, pushing for more semantics in
  the HTML and trying to sort out the CSS into a more decoupled
  version.