Better error detection in cli.py

Avoids catching catching global Python exceptions that might occur in other places (e.g. in click lib).
Added —-host option to Project CLI
Added dist dir to .gitignore
Removed old code