Added Reference Integrity
Interface update, merge fault
Added ReferenceIntegrity to phpunit
Revertd file permissions
Fixed feedback @stof
Merge pull request #602 from evertharmeling/ref_integrity

Added Reference Integrity