[msm] factor out debug code into shared area, make configurable

The defines WITH_DEBUG_DCC, WITH_DEBUG_UART, and WITH_DEBUG_FBCON
are used to determine where dputc output goes.  Duplicated code
merged to msm_shared.  Configuration added to project files.
diff --git a/project/aboot-surf8k.mk b/project/aboot-surf8k.mk
index 9ee9181..7f52726 100644
--- a/project/aboot-surf8k.mk
+++ b/project/aboot-surf8k.mk
@@ -1,4 +1,4 @@
-# top level project rules for the armemu-test project
+# top level project rules for the aboot-surf8k project
 #
 LOCAL_DIR := $(GET_LOCAL_DIR)
 
@@ -6,3 +6,6 @@
 
 MODULES += app/aboot
 
+#DEFINES += WITH_DEBUG_DCC=1
+DEFINES += WITH_DEBUG_UART=1
+DEFINES += WITH_DEBUG_FBCON=1