Merged r8096 from trunk.
Parameter changed to issue_category in r7882 (#9724).
Adds tests for MailHandler.
Slight change to time report style.
Replace raw SQL with a .count call.
Fixed time report broken by r8085.
Merged r8090 from trunk
pdf: add note number for single issue's PDF.
Contributed by Akiko T.
pdf: add note number for single issue's PDF (#9720)
Removed ARCondition.
Use scopes instead of ARCondition.