Fix WebappModeTest flakiness
Because the WebappActivity now uses the DocumentTabModelSelector,
the maximum Tab ID isn't set in stone. When the WebappActivity
starts and initializes the DocumentTabModelSelector, the latter
initializes the TabIdManager's counter to the maximum task ID,
which may be bigger than the test's hardcoded 11684 value.
Instead, just change the test to check that the newly assigned
ID is bigger than the minimum that we set, which is still in the
spirit of the original test (the original bug had the WebappActivity
assign a Tab ID of 0).
Also moves some mocking code upward from DocumentModeTestBase.
BUG=451453
Review URL: https://codereview.chromium.org/
1221623005
Cr-Commit-Position: refs/heads/master@{#336730}