improve UnitOfWork::objToStr() to be able to provide an id/path in more cases
Merge pull request #210 from doctrine/tweak_obj_to_str

improve UnitOfWork::objToStr() to be able to provide an id/path in more cases