Teach Pack.iterobjects() and Pack.get_raw() to handle thin packs

Only DeltaChainIterator currently supports the resolve_ext_ref functionality needed to support resolving external references in thin packs. bzr-git needs additional thin pack support in Pack.iterobjects() and Pack.get_raw() to support servers like Google Code which refuse to send thick packs.