Add support for using projectile to find the project root, optionally
Fix CWD for the RPC process