Introduce CrashRecoveryModule Lifecycle service

This service would be part of module and will perform various actions
based on SystemService Lifecycle. For now along with onPackagesReady,
noteBoot() and RescuePartyObserver registration would be moved here.

Bug: 338468233
Test: atest CrashRecoveryModuleTests
Flag: android.crashrecovery.flags.refactor_crashrecovery
Change-Id: Ifb3297207908e9ec689dde8662238df3da8463f3
10 files changed