VCDB Quality Check. Closes #589
a few more changes after checking internal consistency.
fixed the integrity attribute.
Merge pull request #604 from vz-risk/issue589

Issue589