Migrate voice features into the open-source LatinIME. This includes
the change to logging to remove any private dependencies and use
broadcast intents to VoiceSearch instead.

I have audited this code and it appears good to go for open-source,
but would appreciate a second pair of eyes.

Still to do after submitting this CL:

* Reintroduce Amith's memory leak fix (37557) which was the only CL
  added to LatinIME since the last merge over to the private copy.
* Make some changes to allow LatinIME to work without voice search
  installed. Currently I believe it will show the mic but fail if
  you press it. We need to base the visibility on the mic on the
  availability of the service.
* Fix this code to use the new Gservices framework, it's still trying
  to use the old one.
diff --git a/res/values/keycodes.xml b/res/values/keycodes.xml
index e46e4bc..8156c0e 100644
--- a/res/values/keycodes.xml
+++ b/res/values/keycodes.xml
@@ -20,5 +20,5 @@
 
 <resources>
     <!-- Keycode for F1 (function) key. This one switches between language switch & comma/.com -->
-    <integer name="key_f1">-102</integer>
+    <integer name="key_f1">-103</integer>
 </resources>