Metadata cache fixing

fix for https://github.com/doctrine/DoctrinePHPCRBundle/issues/55