Open reviews report is finished

* Corrected calculation of review state (take into account latest patch)
* Refactored reports, base report template is introduced
* Review marks are converted to int

Part of blueprint module-review-backlog-stats

Change-Id: I995947d43f6bbb967d5212e95890f2d584e08571
Merge "Open reviews report is finished"