Skip the batch check for commits and tags
Feature flag 'commit_without_batch_check' removed.
For extracting commits, tags and trees calls to batchCheck.Info(rev)
removed.
Covering by tests cases for incorrect ref types.
Rename of local vars as return type of funcs changed.
Part of: #2427 (closed)
Edited by GitLab Release Tools Bot