* Introduce new metadata keys `vcs.repo`, `vcs.kind` and `vcs.owner` to keep the keys generic for any vcs. Expanded the git SSH regex to account for bitbucket's .org domain. * Introduce new stack tags keys with the same theme of detecting the vcs.
* Get commit message and branch from CI if unavailable * Add tests
* Check git status from project repo, not cwd * Add git head ref name to update metadata * Reuse some test code