Add apex versions in oat file headers.

Use the versions to know whether we need to recompile.

Test: oat_file_assistant_test
Bug: 182465342
Change-Id: Ic656ed4465d35d325c1823d531f7c4c5bc74598d
9 files changed