Created local implementation of RepositoryCollection to test Guice injection.
(The testing still needs to be done.)
Also created own DuplicateKeyException instead of using the mongo one.