Initial implementation of the CMake build system

I cleaned up the original implementation, integrated the support for ifort and added the sphinx documentation. I think this can be tested now.