JBIDE-18262 - protect against invalid version ranges when matching runtimes

JBIDE-18262 - revised

JBIDE-18262 - added test

JBIDE-18262 - added test