Sitebase

Changes that @adamrp and @squirrelo worked on in preparation for american gut web app tornado conversion.