Refactor client code to reduce GWT includes.

The gerrit GWT build was giving build warnings because the
getAsync() signature and types used in the implementation
were not available to GWT.

Change-Id: I22fcd01fb74acefbabd809cdc0404738f16c0205
68 files changed