silence three annoying, mostly useless warnings
move built binary to top-level build directory
setup environment for in-place run
fix up includes
more constness, more references (in place of pointers)
other minor changes
Merge pull request #3 from z33ky/master

CMake and code enhancements