Made bundle usable with both (ODM or ORM)

Removed hard dependency to doctrine ORM