Medusa review

This is the current medusa static site generation branch, tweaked for final review.

Closes issue #25 .