DATASOLR-218 - Improved bean definition registration for repository configuration.

Make use of `registerIfNotAlreadyRegistered` provided by spring-data-commons.