use ClassUtils::getClass when refreshing a document to not fail on proxies. fix #439, #436
Merge pull request #452 from doctrine/refresh-proxy

use ClassUtils::getClass when refreshing a document to not fail on proxies