#489762 by JohnAlbin: Add theme lineage information to .info file cache and fix several edge-case bugs.