Fully support static encoded fields.

Intialization runs under one single thread. Class Status stored at Oat
Classes are set to uninitialized (maybe verified) when that class contains
static encoded fields.

Resolve all types mentioned in classes before initializing under
transaction mode, since ResolveType doesn't support transaction.

Test: make test-art-host
Change-Id: I6c9df8a2cdd43043837eb3b438ed7a89ecdaf64d
9 files changed