WIP: Switch the build system from hand-written makefiles to meson build system
This MR changes the build system from the plain makefile based to the meson+ninja.
It makes the build system more standard, and easier to modify.
As an added bonus, the lua files are now precompiled with luajit.
References: #350 (closed)
Edited by Petr Špaček