Rewrite mail module.
User mail_helper to send e-mail.
Fixed an error password bug.
Use mail_helper to send login mail.
Remove `sendMail()`.
Add mail unit test.
Add login page unit test.
Merge pull request #8 from fengzifz/bug_rewrite_mail

Bug rewrite mail