Basic file uploading

Basic file upload (path stored in the DB), email registration confirmation, and some template modifications.
(Speaking of which, I should be handling overwrites properly. Whatever properly means.)