Commiting so that I have a roll back point. A lot is changing in the code base. The auth system now has tests, they may not test every case but they will be useful for now. Also added in icons to the menu, these may need converting to CSS sprites at some point, need to make white ones for hover
A little more work. Added in templates for extra emails which will be sent. These are just copies at the moments. Also moved all error templates to their own folder. These are going be published by Nginx in the future rather than Flask. This means we do not have to duplicate them