Add flag to make `versions` show only the latest version.

The output is formatted so it can be fed straight back into `add` :)

Signed-off-by: Magnus Therning <magnus@therning.org>