Ports over Psi4 CMake system.

Psi4’s CMake system is really nice.

Also moves things around to start on the tensor library.