Move more runtime code to libartbase, libdexfile

Move some code that logically belongs to libartbase or libdexfile to
those places respectively.

Bug: 22322814
Test: make -j 50 checkbuild
Change-Id: Idfded5d24b40d8587011681e6235b6672846da19
19 files changed