build: Port to meson build system
meson is a build system focused on speed an ease of use, which helps speeding up the software development. This patch adds meson support along autotools.
This merge request is based on the work in the old freedesktop's bugzilla issue. I have rebased master and updated build files with the new features from recent meson versions.