Use ScopedTaskEnvironment instead of MessageLoop in /chromeos/dbus

MessageLoop will go away, eventually.

ScopedTaskEnvironment will per default start a ThreadPool, which should
be fine in most of the cases. If you belive your test needs to make sure
that no ThreadPool runs let me know and I will update the patch.

BUG=891670
This CL was uploaded by git cl split.

R=hashimoto@chromium.org

Change-Id: I57fcce3232f0d40ae0cacee67fcd02348460020a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1649538
Auto-Submit: Carlos Caballero <carlscab@google.com>
Reviewed-by: Ryo Hashimoto <hashimoto@chromium.org>
Commit-Queue: Ryo Hashimoto <hashimoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#667525}
5 files changed