lib: Import subset of pip-db back-end

We've grabbed the useful stuff, chiefly the superglobals and templating
engine.

Issue #71.
html: Add the skeleton HTML template components
build/www: Remove EXTRA_DIST
build/www: Export HTML for templates

Issue #71.
lib/template.php: Don't set session

Issue #71.
software: Port to template engine

Issue #71.
Import modernizr and jquery

Issue #71.
photographs: Port to template engine

Issue #71.
build/img: Enable href="<image>" content hashing

Issue #71.
_page.html: Add body padding

Issue #71.