Add permission checks and unhide the Hotword recognition APIs

- Also tweak the API a little to send an intent on hotword being
  recognized.

Change-Id: I8a3fedaec4e1db595ed058089734d25c7957111e
6 files changed