Fixes issue when getting annotation from Proxy

Sometimes Doctrine will give you Proxy classes instead of the concrete class. When this happens the ReflectionClass will not be able to get the annotation from the Proxy class.