command line: fix -v and --version

for #94
simplify client.add code
command line: don't crash on invalid torrent filename

fixes #94
command line: add test for -v --version flags

for #94
0.7.2