coordinator: Fail CreateRepository RPC if repo is already created
The CreateRepository method should return an error if it is called concurrently with the same input. This causes a race that now is explicitly reported to the caller by returning a proper code.
The change also includes removal of unused 'testLogger' and simplification of one function signature.
Closes #4585 (closed)