Fix deprecated use of Doctrine class instead of Doctrine_Core

Updated Doctrine doesn't allow use of Doctrine::some-static-method(). I've changed all that calls to Doctrine_Core::some-static-method().