Added branch-alias for dev-master to --version|-V output when current version is actually a revision (a non release/git tag).
This replies the work done in #3352 respecting other uses of ```Composer::VERSION``` constant.

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| Doc PR        | none
Updated $branchAliasVersion set based on @Seldaek's suggestion.
Merge pull request #3362 from phansys/composer_version

Added branch-alias to version output when it is aliasing dev-master