Resolve redirects in wbgetentities.

This adds a new parameter, redirects, to disable automatic
redirect resolution.

Bug: 67031
Change-Id: Ic5c4d211df29bafc64da3afa90b5260f20969356
Merge "Resolve redirects in wbgetentities."