Merge pull request #1193 from heuripedes/master

(sdl_gl) Build fix for the SDL1 codepath
Start moving string.c to libretro-sdk/crt
(Libretro SDK) Update crt/string.c
(Libretro SDK) Add crt/include/string.h
(OSX) Create CFBridgingRetainCompat so that it will still compile on
OSX 10.6
(Apple) Build fix for CFBridgingRetainCompat
(OSX 10.6) Need to define __has_feature for GCC
(CFExtensions/Apple) Put __has_feature definition on top
(Shaders) should fix shader pass 1 always being changed instead
of the appropriate one
(Menu shader) Small cleanup
video_shader_preset_parameters should not immediately apply
Refactor input_joypad_pressed somewhat
(input_common.c) small cleanup
(Lakka) Remove hardcoded scale_factor
Merge pull request #1194 from lakkatv/xmb

(Lakka) Remove hardcoded scale_factor
Split off input_context code into separate file
Add driver.menu->mouse
(RGUI) Draw cursor
Merge pull request #1195 from lakkatv/xmb

(RGUI) Draw cursor
(menu) Add RARCH_GRAB_MOUSE_TOGGLE to menu_iterate