Add some extra checks to make sure the temp dir is created and usable
Update to only hack in the catalog resolver if catalogs are actually used.  Fix the logic around it to work with in JDK xjc.