Allow -SNAPSHOT versions to be parsed by Version.fromString

this helps to run bwc tests against SNAPSHOT versions