Store instance fields and types with class objects.

Rather than duplicating them for every class instance.

Test: m ahat-test

Change-Id: Ifddf49918ca8532332928ab09ed9983d6ad8858f
14 files changed