Break out overlay-specific functions to new v_main module

Remove platform-specific surface creation code from i_video.c

Start work on a shortcut function to call Lua functions from C
Merge branch 'console' of github.com:camgunz/d2k into console

Conflicts:
	src/SDL/i_video.c
	src/x_main.c