fix referrer cascade to really update referencing document
improve tests a bit
fix indention
Merge pull request #266 from doctrine/fix-referrer-cascade-update-reference

fix referrer cascade to really update referencing document