Zsh compatibility

Fixed compatibility with zsh
Added method to normalize versions so they are comparable and method to 'format' a version number (prepend `v` if not starting with number).