Add test methods in AccessFlags.

-isContructor()
-isInterface()
-isEnum()

cherry-pick from commit f26560e364a6cdbea0e634c67bc5568fd77da489
partial cherry-pick from 89781f1a88104ce3f6dc680d1cf0b9975325c2de
for isEnum().

Change-Id: Id671442c1fe6113809a21c63a54ae6e290d899e2
Update Dalvik native interfaces for startMethodTracing.

Bug: 12766325
Change-Id: I1a3e041df339172f8acdbf582112f010e32be835
dalvik: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH

LOCAL_MODULE_PATH doesn't work for multiarch builds, replace it
with LOCAL_MODULE_RELATIVE_PATH.

Change-Id: I4e4ceec61d026bbe74ba604554c06104bde42e5e
dalvik: don't build unit tests on eng builds

Building the unit tests forces libdvm to build and install.  Set
the unit tests to optional (the default) so they only build for
a checkbuild or an mm in dalvik.

Change-Id: Ia1f1f7071fc0cbe445c0382e8806ebc9a2e98849