add initialization of base resource path.
add utility function to easier read in an entire file.
add loading of scripts from resource directory.
fix read_resources to actually read data (use size instead of count which is 0).
add script_state to application & load init.lua from data path at init time.
add lua global info_window.
Merge branch 'lua' into dev