(Partially) fix the detection of "developer" versions as "recommended"

* Updated generated standards-version to 3.9.5
* Fix some deprecation warnings due to the update of the Ruby version
* (Partially) fix the detection of "developer" versions as "recommended"
  ones. (Still breaks where no recommended versions are found) (Closes:
  #736325)