This commit adds the --user-data-dir argument which allows a custom data dir for Chromium's user data. This is useful when running as root on Linux since the root user does not have read or write permissions for the ~/.config/Code dir. Part of #3068
This also changes the behavior of the bin command to find cli.js relatively, meaning the CLI now supports non-standard install locations.