Cleaning up some more flakiness in DownloadManager tests.

A couple of logic fixes (synchronization, poll time), and adding a little more test
logging info.

Change-Id: I8da71f87fd1e211913f84ec517762dca81f87292
2 files changed