fix: warnings
refactor main.cpp
fix: luajit detect
Fix regression with USE_REDIS (refactor_main)
Merge remote-tracking branch 'minetest/master'

Conflicts:
	src/main.cpp
merge fix
Merge remote-tracking branch 'upstream/master' into next

Conflicts:
	src/main.cpp