Revised Email Registration Algorithm

Fixed a bug where email accounts were not being validated properly if
they existed in the database prior to validating the account (which will
always be the case prior to validating any account). Still need to
format the emails, which shouldn't be too hard. You need to run a local
mail server in order to receive emails from localhost.

Started work on the formatting of the email, but have not gotten very
far. Check it out at localhost/email.html. Any suggestions as far as
content is concerned are welcome.