cache a lot of @ISA and method checks

By caching the linear ISA and checks for BUILD/DEMOLISH/can
on methods, we avoid having to compute them repeatedly
in new and DESTROY.
update dist.ini and support files