EndlessAdapter: Implement disabled state

GerritURL: URL encode search keywords
AgeSearch: Delegate before and and after Gerrit query generation to
 BeforeSearch and AfterSearch classes; Fix instant formatting

Change-Id: I755ac15b927961fbf6a56de572fbc7c25f3534ba