storage: Unify errors for repository parameter validation
This MR unifies the errors for repository parameter validation across Gitaly and Praefect and converts all tests to test for embedded errors instead of hardcoded strings. This ensures that we can iterate easier on those errors if the need ever arises and further aligns error handling across Gitaly and Gitaly Cluster.