Clear job quotas / restrictions before tests

To decrease the flakiness of the hibernation job, clear any quota
or battery restrictions before running any of the hibernation tests.

Also add log for the current job state for debugging purposes.

Bug: 288324294
Bug: 292027930
Test: abtd run
Test: atest CtsHibernationTestCases --iterations 50
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:56744d21ee78b792ef2721e491675cdca4ca436c)
Merged-In: I4a651f4e993038eee3b8f234503d3f647e421297
Change-Id: I4a651f4e993038eee3b8f234503d3f647e421297
3 files changed