basic templates

http://flask.pocoo.org/docs/0.10/tutorial/templates/#tutorial-templates

(Slight variations from the tutorial, cleaning up html a tad.)