Camera2: Use device callbacks, and check for captureStarted callbacks

- Use BlockingStateListener
- CameraDeviceTest:
 - Wait on expected state transitions to verify state transitions
 - Add checks for shutter (CaptureStarted)
- Other tests use minimal waits to ensure correctness

Bug: 10360518
Change-Id: Ib177f4e633589b88e3df4a26aeae3d4b6a4f7a37
3 files changed