cmake: update Emscripten.cmake
build-sys: add missing pthread dependency for BUILD_LIVECODING
tools: add builder.py

It builds every permutations of the compilation flags (i.e.
BUILD_EVENT=NO BUILD_NET=YES ...)

It helps finding bugs in the build system and/or #ifdef.
graphics: add assert_lua for resize
util: fix uninitialized variable