Added DEBUG_PRINTF macro.
Current status:
  ES 1.0 - works on Android but needs some editing (see MEMO.txt)
                now broken for iOS
  ES 2.0 - works on Nexus 7 but not on Android Simulator
                works on iOS simulator but unstable in iPad 3rd gen