Shore up application testing procedures
* Fix TabTest so that it properly resumes and restarts Chrome by
firing Intents instead of faking it.
* Pull out methods common to ChromeActivityTestCaseBase,
MultiActivityTestBase, and DocumentModeTestBase into
a new ApplicationTestUtils class. Tweaks the methods that are
very similar but different so that they work the same way.
* Unify the initialization pathways for the two test bases.
BUG=
508524,
498973
Committed:
https://crrev.com/7ca3b9796a6812c3baa0b7d843d544a5795ff4df
Cr-Commit-Position: refs/heads/master@{#338742}