Doctrine 2 - ORM

Github-PR-105 by domnikl: DDC-1278 - EntityManager::clear($entity) support