cmake build system working

Although the build system is not entirely complete (file generation and
test building and running is not finished yet, nor is more than a stock
folly build) this should be "good enough" to get a working makefile and
config for folly