Compile less stuff

Don't compile class initializers, compile programs with fewer than
commmand-line specified number of methods, mildly refactor SLOW_MODE,
rename into LIGHT_MODE.

Also, walks the image for uncompiled methods and fixes up with pointers to the
interpreter entry point.

(Removed hot method list and light method limit as these are experimental.)

Change-Id: I2ae33d8add84ab9f4d76f9d910cae422c81a7832
diff --git a/build/Android.common.mk b/build/Android.common.mk
index 7faf452..59426a4 100644
--- a/build/Android.common.mk
+++ b/build/Android.common.mk
@@ -14,10 +14,10 @@
 # limitations under the License.
 #
 
-ART_SLOW_MODE := false
-ifneq ($(wildcard art/SLOW_ART),)
-$(info Enabling ART_SLOW_MODE because of existence of art/SLOW_ART)
-ART_SLOW_MODE := true
+ART_LIGHT_MODE := false
+ifneq ($(wildcard art/LIGHT_ART),)
+$(info Enabling ART_LIGHT_MODE because of existence of art/LIGHT_ART)
+ART_LIGHT_MODE := true
 endif
 
 ART_USE_PORTABLE_COMPILER := false
@@ -58,8 +58,8 @@
 	-Wstrict-aliasing=3 \
 	-fstrict-aliasing
 
-ifeq ($(ART_SLOW_MODE),true)
-  art_cflags += -DART_SLOW_MODE=1
+ifeq ($(ART_LIGHT_MODE),true)
+  art_cflags += -DART_LIGHT_MODE=1
 endif
 
 # TODO: enable -std=gnu++0x for auto support when on Ubuntu 12.04 LTS (Precise Pangolin)