Change Proxy class used to Doctrine\Common\Persistence\Proxy

Tests are currently failing with recent doctrine orm as proxy classes needs to implement several other methods