DATAJPA-444 - Improve detection of PersistenceProvider implementations.

Polishing.