Fixed ClassMetadataInfo::isCollectionValuedAssociation()

The method was checking for TO_ONE instead of TO_MANY.