Add spec for comparable with Range and no <=> method defined
Fix building a Range with comparable but no <=> defined

Fixes #2681
Add spec for rb_cDir
Add rb_cDir to C-API

Fixes #2651