Delete old reports for keeping DB file size constant.

Implemented as two configuration options like below:

 1. max_report_size_by_branch: Limit count for each branch.
 2. max_report_size: Whole limit count for report rows.