Create bedstead-flags module.

This allows flag checking with DeviceState rather than having an
additional test rule (which is currently incompatible with DeviceState
if bedstead-permissions is used)

Test: btest a.d.c.BackupTest
Test: btest a.d.c.SetUsbDataSignalingTest
Test: btest a.d.i.DumpSysTest
Test: atest bedstead-flags-test
Change-Id: Ieb71840537b10050179843c2f417c80d0bf52158
15 files changed