Revert "Revert "Introduce initOrder for apex-system-services.""

This reverts commit 1352272eb620f8c52e840340a0d96f6dc019f265.

Reason for revert: rollforward with a fix.

Add waitForBootComplete() after installing test apex and inspecting
logcat.

Bug: 192880996
Test: atest ApexSystemServicesTestCases PackageParserTest ApexManagerTestChange-Id: I7a238b439fc25da4ae1ab379cc66e54565dac293
Change-Id: I0270c24c471d8e7391260b7f731b6c0fb2fa0662
14 files changed