Extract the bundler like version range parser and add some tests