conman: Fake all subprocesses consistently.
conman unit tests currently fake subprocess calls in a variety of ad
hoc methods.
This adds a fake subprocess module that delegates subprocess calls to
fake Python implementations. This made it possible to rewrite the
conman unit tests to be much more consistent, organized, and bug-free.
This rewrite uncovered some small bugs (all changes to non-test files
comprise the resulting fixes, or related cleanup).
BUG=31772343
Change-Id: Iebfba1c985d877ff2c3849a90300cc3fd83b8dda
28 files changed