use doctrine from symfony framework, if civi is bootrapped with symfony
Merge pull request #2238 from kurund/civi-symf

use doctrine from symfony framework, if civi is bootrapped with symfony