Resolved compile issues
Added CMake build system for easy building and packaging
Added Gentoo ebuilds, Debian packages can be generated using CMake/make
Some packaging tweaks, added support for RPM