Demote jobs if the user stops the app.

If the user stops an app for any reason (Task Manager,
force stop, etc.), then demote any pending jobs (that the user wasn't
aware of) so that JS no longer treats them as user-initiated.

Bug: 255767350
Test: atest FrameworksMockingServicesTests:JobSchedulerServiceTest
Test: atest FrameworksMockingServicesTests:JobStatusTest
Change-Id: I6a6e971a1e86d9e5c65dac744e29b1d9418a5eb3
6 files changed