cli: simplify version loading
fix: honour PORT if set in .env file

Use the PORT given in the env file or specified in the environment
before falling back to the existing default of 5000.

Fixes #63
v1.2.0
Merge branch 'release/1.2.0' into production