Relaxed kernel checks

Several early exceptions were relaxed to satisfy the specification: a non-cascaded relation pointing at an object without a state manager is no longer rejected at flush with "cant-cascade-persist"; the referenced row is looked up in the database during flush (an extra SELECT for unenhanced or subclass-enhanced entities) and truly transient references may now fail later with a foreign key error. Modifying an embeddable obtained from a query projection no longer throws; the modification is silently not persisted. Re-persisting an entity after remove() and flush is tolerated. In addition, when orphanRemoval=true is combined with cascade=REMOVE/ALL, in annotations or in orm.xml, the related entities are removed immediately on remove() of the owner, and entities dropped from the relation are deleted as orphans at flush.