Started transitition to using lit to drive tests. The necessary
lit configuration files are now generated by CMake. CTest is still
being used to run tests from CMake though, this will be removed soon.