Try to infer `--project-root` when using ligo commands

Merged Melwyn Saldanha requested to merge melwyn95/pkgm/infer-project-root into dev


Try to infer the root directory of the project by walking up the directories

Changelog details:

Infer --project-root when using ligo commands

Now LIGO will try to infer --project-root by looking at parent directories, This will make LIGO CLI commands less verbose (when using external packages from npm).

If you need/want to specify the root directory of your project you can as always use the --project-root flag.

Edited by Melwyn Saldanha