iASL/TableCompiler: Add object caching, cleanup memory leaks.

Add object caches for the field and subtable objects, to improve
performance and to simplify memory management.