Disable TTY input when using udev.

Avoids possible commands being entered while playing.
(iOS) Set available Bluetooth options based on iOS version used and whether btstack is available.
(iOS) Fix ios_logger_override.h issues; fix crash when closing a game with TV Mode enabled; remove unneded code block introduced by previous commit
[Android] Add the export tag to RetroArchPast/Future in the manifest. Allows passing external Intents.
Merge pull request #411 from lioncash/master

[Android] Add the exported tag to RetroArchPast/Future in the manifest.
Merge branch 'master' into rgui-search
Refactor keyboard event callbacks.

Go through input/keyboard_line.c to better hide internal logic
regarding keyboard line input.
Update griffin.
Fix CXX_BUILD.
Fix menu_search_callback.

str can be empty and non-NULL.
Use strcasestr.

Since it's a GNU extension, move to strcasestr.h.
Add strcasestr check to quickbuild.