Support class unloading in dex2oat for quicken multidex

Support class unloading for the quicken compilation filter. This will
be enabled in a follow up CL.

Added a test that compares with and without unloading. The way that
it tests this is by adding an output app image. Having an app image
disables the unloading. This test also covers that app images don't
change the odex (currently).

Added a test for the assumed verified logic.

Cherry pick includes the test fix.

Bug: 63467744
Test: test-art-host
Test: test/testrunner/testrunner.py --interpreter --host -j40

(cherry-picked from commit 0b1c341d2d89a483142cd14bdeb4650ab00184f1)

Change-Id: If70e31d3a15579dc75fd40bfef186e0124568c87
12 files changed