DATAMONGO-1017 - Add support for custom implementations in CDI repositories.

Original pull request: #215.