fixed nvm_version result when multiple versions match the given pattern
added test for using the latest of two versions
Merge pull request #366 from messju/nvm_version_fix

fixed nvm_version result when multiple versions match the given pattern