Use the thread local cache in interpreter / unresolved entrypoints

Refactor and cleanup how we lookup the method to invoke. Also remove old
mterp related code.

Test: test.py
Change-Id: I135b38c45612c5266b51c0eb39a67ac988541ae7
12 files changed