Issue #39: refactored ShortVersionParser and fixed issue where 3.7 was not recognized as 3.7.0