Save all sensor events when a verification fails.

It also prepares the sensor test platform for logging and maintaining a hierarchy of elements.
Most of the changes are only required to propagate the hierarchy information down to all the
elements of the sensor test platform.

Change-Id: I08f750cfb426502240db584b5a1209481856c13c
24 files changed