Fix issues counted by coverity metrics.

- Count only outstanding issues: issues which are neither fixed nor dismissed.
- Filtering issues to present only issues opened at the analysis date. This is useful to populate Sonar with past data when a project is created.