changed singlestructure() in RelationalEntityStrategy to 1) deal also
with SimpleEntity case of CompositeEntity and 2) also the use of some
entities as the primary entity and the related entity for a relational
quality.