Support redirects in MockRepository.

This will allow us to test redirect related cases based
on a MockRepository.

Change-Id: I3f0a5993f6818471ac644a44a21b9de47e420c82
Silently resolve redirects in SpecialEntityData

Bug: 67032
Change-Id: I50e6d6bde59263fe689ac3bf351630a3c4de010d
Merge changes I50e6d6bd,I3f0a5993

* changes:
  Silently resolve redirects in SpecialEntityData
  Support redirects in MockRepository.