add an easy configuration script
update core and cmake submodules to latest version
now using lua 5.2
now using bool where available