PipelineTool command line argument 'project to open'

Also fixed crash when looking for templates in the project directory, assuming the directory existed.