version: respect --json for output
outdated: Don't show headings if there's nothing to output
outdated: Default to 'latest' rather than '*' for unspecified deps

Fix #5600
v1.4.20
Merge branch 'v1.4'