Enable relative by default when used with --paths, fixes #785.
Match against a branch even if it's a semver version/range that does not exist, fixes #771.
Close GH-784: Several main files are outputted as an array with --paths, fixes #781.. Fixes #781
Merge pull request #786 from bower/git-semver-branch

Match against a branch even if it's a semver version/range that does not exist, fixes #771.
Install tagged versions with semver build metadata

Prefer an exact match including semver build metadata over other
similar versions.
Install tagged versions with semver build metadata, Part II
Improve exact match, give lower priority to pre-releases when matching against *.
Unnecessary function.
Unnecessary check.
Implicit range * aware.