Matthias/ruby singleton

Only works with modified GemStone VM (same branch on MagLev/HPI-GSS). See #291.