Migrated most usages of ClassLoader.resolveClass/initializeClass.

There are some bugs I need to work out (see Interfaces test), but I'm
pushing so I can work on them from home.