Resolve project path to make sure we can get a directory name

As we want to use the name of the directory containing the project
file as the name of the project call realpath on the project file to
make sure we have a full path so we can get the directory name.
Merge pull request #16 from tomhughes/realpath

Resolve project path to make sure we can get a directory name