Merge pull request #868 from lakkatv/lakka

(Lakka) Fix a color mode bug
Fixup qb/config.libs.sh - change == to = for comparisons
(Wayland) Add stub input handlers to context
Refactor video_xscale/video_yscale into video_scale - scales
both X and Y according to same value
(SDL2) Fix colors for cores that use 0RGB1555
(SDL2) Fix windows build
(SDL*) Merge input drivers
(SDL*) Merge joypad drivers
(SDL*) Properly initialize SDL library/subsystems
Merge pull request #869 from heuripedes/master

SDL fixes and improvements
Implement SDL driver video poke interface
Merge pull request #870 from heuripedes/sdl-poke-interface

Implement SDL 1.2 video poke interface
Rename cart_crc
Rename more references to 'ROMs'
Move config_save_on_exit to g_settings
(GX) Build fixes/cleanups
Rename game_history_size to content_history_size
Bake in HAVE_BSV_MOVIE  implicitly
(Recording) Bake in HAVE_RECORD implicitly
Cleanups