Finding the project root

pin can now find the project root, based on the existence of the
project.pin file.