compatibility with symfony 1.4

By rewriting all occurences of Doctrine:: to Doctrine_Core::