add a return value also to saveViolation
use return value in saveUniqueViolation
Merge pull request #168 from guwirth/enhancement/CxxReportSensor

saveViolation return value