Allow repo hash to correspond to version number
Allow repo hash to correspond to version number

When resolving repo versions, newt uses this procedure:

1. Resolve inter-repo dependencies.
2. Resolve project.yml dependencies. Allow project.yml to override
dependencies from step 1.

There was a bug affecting both steps in the procedure.  If a dependency
specifies a commit hash that corresponds exactly to a version number,
then the dependency was ignored.

This commit fixes the problem so that commit hashes are always honored,
whether or not they correspond to version numbers.

apache/incubator-mynewt-newt,apache/incubator-mynewt-newt