(Bug 5295) Respect the opt_noemail setting

Logic was already in LJ::Event::JournalNewComment, so refactor that out,
and reuse.
Merge pull request #615 from afuna/opt_noemail-bug5295

(Bug 5295) Respect the opt_noemail setting