DATACMNS-496 - Version.parse should not throw NumberFormatException.

Version parsing failed when given version contained non numeric parts (like `2.0.0-rc1`). We now strip everything after the first non numeric part.