filter referrers by referringDocument class
Merge pull request #296 from doctrine/respect-referrer-class

filter referrers by referringDocument class