Merge pull request #1190 from lakkatv/xmb

(Lakka) Fix setting navigation bug
(d3d) Move C++ headers to the top to avoid namespace conflicts
(d3d) Fix undeclared pretro_get_memory_data() error
Merge pull request #1191 from heuripedes/master

d3d build fixes
(PSP) set default aspect ratio to ASPECT_RATIO_CORE.
(PSP) disallow odd values for viewport width/height.
Merge pull request #1192 from aliaspider/master

(PSP) small fixes
use persist load for normal loads, fixes exitspawn on consoles
(sdl_gl) Build fix for the SDL1 codepath
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