Access to singleton class refactored

Ruby forbids method definition and calls to #singleton_class for
instances of Fixnum and Symbol classes.

But we should be able to access singleton class of those instances
for usage in instance_exec.