Update the generate ecosystem logic for 4.0.0

With Scala IDE build >= 4.0.0-rc1, a plugin is compatible if the Scala
library range is the same, the sdt core range contains the sdt version
and the Scala compiler version match strictly, if the dependency exists.