Add tests for integrity agent. Fix some minor issues.
Add api section for integrity agent showing the state of configured
replications.