DATAJPA-579 - Added implementation of type identification for repositories.

Related ticket: DATACMNS-526.
DATAJPA-581, DATAJPA-582 - Fixed isNew(…) detection in JpaMetamodelEntityInformation.

We now generally consider all non-null values of a non-primitive @Version attribute indicating a non-new entity.
DATAJPA-581 - Ordered entries in persistence.xml alphabetically.

Ordered the entries in the test persistence.xml alphabetically to avoid duplicate entries.