Small improvements before starting to implement Lua

Game is now a global variable (g_pGame)
Started working on Lua

Added lua/main.lua
Improved some code
Added debug functions
Added include() function