wip: social_snippet/rubygems: use version_sorter gem
wip: base_repository: add refs / versions feature

* add get_refs()
* add get_versions()
* add get_latest_version()
wip: base_repository: add test for version features
wip: tag: support repository's ref
wip: tag: spec: add spec for repository's ref