ART: Refactor dex2oat

Take the huge dex2oat main function apart. Move to ScopedLogging.

Bug: 18276913
Bug: 17444504
Change-Id: Iab3d7437d60508088cb16bf33da0c5defbf7ae03
2 files changed