Minor fixes

- Fix FileNode object cast, when no project is opened the rootNode is a
leaf (making QtCreator segfault when requesting coverage information).
- Fix runConfiguration path retrival, the coverage tool will only work
for LocalApplicationConfiguration using their workingDirectory parameter
to retrieve the gcov data.