Remove getcwd/chdir from Perforce
Introduce getApplication on command
Introduce basePath param for dump command
Rename getNewWorkingDir -> getWorkingDir, use it for all commands/applications instead of getcwd()
Use getWorkingDir and pass it as basePath to generator::dump()
Merge branch 'remove-getcwd' into issue-2760