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
Extended version comparison, now also compatible with zsh
Some more compatibility with zsh
Prepend a v for version numbers if its not already there