Merge "Pass in new flag DEXOPT_GENERATE_APP_IMAGE to test cases" into pi-dev