Add basic support for Cmake.  Note: Using gcc 4.6.x which doesn't have
c++11 support, but it looks like c++0x is good enough for us now.