Merge pull request #1008 from heuripedes/master

Windows builds fixes
Move more to Makefile.common
Move more to Makefile.common
Move zlib to Makefile.common too
Bake in GLUI and Lakka if HAVE_OPENGL is defined and HAVE_RGUI
is defined
(GLUI) Fix Savestate load/save and resume
Do life cycle state checking outside of graphics driver for
menu display driver's 'frame' function
Add some additions to Griffin for MSVC PC build
Include msvc_compat.h at top of Griffin too for _MSC_VER targets
(MSVC) Use Griffin from now on for MSVC PC build - make some
variable/ function names unique for Griffin
(D3D) Change dir to gfx/d3d
Revert "Do life cycle state checking outside of graphics driver for"

This reverts commit 06bea05634acdb7a80bb7945dd19c8bac240df2b.
(GLUI) Display a background image if found
Merge pull request #1010 from lakkatv/lakka

(GLUI) Display a background image if found
Add missing flags when building with mali fbdev
Merge pull request #1011 from lakkatv/lakka

Add missing flags when building with mali fbdev
(Menu) Uniquely name png_texture_load in lakka and glui
Create main_entry_decide to delegate decisionmaking process of
what to bind frontend_loop to
Some control flow changes
Add RARCH_ACTION_STATE_MENU_RUNNING_FINISHED to RARCH_CMD_RESUME