Fix reference sources in jars and zips

make the class/source lookup support companion objects (which is how imports come through), and allow `zip` files.