Improve performance of tags controller
What does this MR do?
- Update to gitlab_git 10.4 and take advantage of preserved Ref objects
- Update version_sorter and use a more efficient approach for sorting tags
What are the relevant issue numbers?
Closes #17073 (closed)
Does this MR meet the acceptance criteria?
- CHANGELOG entry added
- Documentation created/updated
- API support added
- Tests
- Added for this feature/bug
- All builds are passing
- Conform by the style guides
- Branch has no merge conflicts with
master(if you do - rebase it please) - Squashed related commits together