conman: Handle WPACtrl.request errors.
This commit addresses the following problems:
* conman would sometimes call WPACtrl.request when the WPACtrl was not
attached.
* conman didn't catch the wpactrl.error that wpactrl.request may
throw.
* The unit tests would not pass if the system didn't have the real
pywpactrl installed, beacuse the fake wpactrl didn't have the
necessary fake classes. I verified this by removing pywpactrl from
my machine, seeing the tests fail, adding the fake classes, and then
seeing them pass.
BUG=29364078
Change-Id: I04bd94f6c62967d92550335b86e0a33eca44e64c
4 files changed