Update singleton ancestor chain

MRI 1.9 did not include BasicObject's singleton class in the ancestors
of a singleton class. 2.x introduced this, so let's match it.