Start of CMake build system

-Added a basic CMake build system. It will build, but it needs some more
work, if only for convenience.