notification: Get sender from smtp config.

This fixes an exception because of invalid sender.
notification: Do not send mail to anonymous.
issue: Add tests for commenting.
code/history: Show num of comments for each commit