CDK-416: Fix Hive by dynamically resolving static fields.

This introduces DynFields, which serves the same purpose as DynMethods,
and resolves object fields at runtime from several alternatives. Hive
integration is updated to populate its type conversion table
dynamically.