Restart Atom with project path from focused window

Closes #4653