Add miscellaneous tests for class redefinition.

There were a bunch of edge cases related to class redefinition and
obsolete methods that were never explicitly tested. This adds tests
for some of them.

Specifically we add the following tests:

1) Testing throwing exceptions that move through obsolete methods.
2) Testing Method.invoke of redefined methods.

Test: mma -j40 test-art-host

Change-Id: Ifa920e5d3b56206966acaa3ab2ffa901fd95fd5b
12 files changed