minor improvements, mostly to CLI, to improve usability
adding a test
rearranged some testing setup to get better coverage.

Testing in this area is still quite weak.
Merge pull request #897 from pulp/mhrivnak-cli-improvements

minor improvements, mostly to CLI, to improve usability