Improve ScreenRecordRule support for classes and overrides

This adds 2 override flags, one for class and one for test level.

Now only the latest started screenrecord pid is kept and killed (not a random one or all of them)

Logging has been slighlty improved

Bug: 261552873
Bug: 262588714
Bug: 260320462
Test: Tried adding it to a local class and execute the test. Verified the recording was taken with logs.
Change-Id: I81c6fdac7c4829a269b8453841ad634f664abcad
1 file changed