dx: Revise interface method handling

Adds a new flag --allow-all-interface-method-invokes to allow default
interface methods to be invoked at any API level and static interface
methods to be invoked at API level >= 21. This is primarily present
for app compat and should be used with caution.

Adds warning on {default,static} interface method definition below API
level 24.

Extends error reporting from the simulator to include details of the
method causing the issue.

Bug: 35261456
Test: dalvik/dx/tests/run-test 143
Test: dalvik/dx/tests/run-all-tests
Test: m -j32
Change-Id: I8ce5c8c31e84e4734d6ca3d215030340d93f2964
17 files changed