Doctrine 2 entity repositories set up