Check for dashes in Commits and Files web tests
Starting from 13.12.0-pre 1121c6408cd
Commits and Files endpoints are using dashes in their urls (pipeline failure). The MR adds check for dashes. Additionally it cleans up web_project_commits
test to remove batch function since there is only one endpoint.