add 'set working dir as project dir' button

This PR adds a small icon to the left of the Project button in the global toolbar that sets the current directory to the project directory.