Rebuilt integrity check to use interface and checker classes
Implemented price table repair method
Added validation for variant orphans (#1129)
Fixed SQL query when deleting variant orphans