Add some admin stuff to JustChartit, and introduce templates.

I would prefer to use jinja2, which is safer, but that requires a real upgrade of the whole app, which I'm not about to deal with.