Generalize API of ObjectDomain class.
Further generalize the ObjectDomain API.

Now the picture is clear. ObjectDomain and JVMEnv should be merged, and
a different simpler ObjectDomain should be introduced which ignore
types.
Use class sharing information to improve pair sharing.