#21. Completed register, login and logout pages.

Also added support for 'flash' messages. Also refactored templates slightly.
#18. Preparing to put app onto WebFaction. Fabfile is not correct at the moment.