Launcher: Add hotword detection

PS1: Added static hotwords detection for voice search, similar
to the Google Now Launcher. By saying "ok google" or "hey google",
Voice Search will start.

PS2: Cleaned up recognizer restart logic and unneeded code

PS3: Added configuration in the settings fragment, fixed a crash when
turning the launcher in landscape when in Settings

PS4: Now listening to custom hotwords :)
Demo video: http://youtu.be/SFv4P_1VTfo

PS5: Fixed crash on pause when no hotwords were setup

PS6: Fixed hotword enable checkbox not working

PS7: Muted the beep-beep, not without consequences as Google are
stupid enough to put that stupid beep-beep on STREAM_MUSIC, cutting
off currently playing music when we mute the stream. Added
a checkbox to disable voice recognition if music is playing.

PS8: Turned off debug flag, ship it

PS9: Whitespaces cleanup

PS10: More cleanup, added NEW_TASK flag, unmute audio when
leaving the launcher

Change-Id: Iaee82faba58aba9f1ed084ea93f5bf4fa3df3b5f
Launcher: FR translation

PS2: correction

Change-Id: I46268fd686fd0d050021b006672ee3e8283d698b
Hotword: More ding-dong fixes

Thanks Google for making it so hard.

Change-Id: Iaf4cc0804e9a0131d06eb84928038af462a4c15e
Merge "Hotword: More ding-dong fixes" into android-4.4
Launcher3: ES translation

Change-Id: I1267ca5d457c8abd9ee7c226a0e7fb9fcdec0789
Launcher3: Update RU translations

Change-Id: I84d72dda92da0a362e5369e3fdee4bb76f04d189
Merge pull request #3 from omnirom/android-4.4

同步自 omnirom android-4.4