Add initial Lua scripting structure

Add some more (basic) XF functions

Fix I_Error not printing out errors before console would be initialized
Roll X_LoadScripts into X_Init
Add Code::Blocks project files
Merge branch 'master' of https://github.com/camgunz/d2k

Conflicts:
	codeblocks/d2k.cbp
	codeblocks/d2k.depend
	codeblocks/d2k.layout
Update Code::Blocks project
Merge branch 'master' into console