target list order and json output of downloads

It seems to me that for the download output of cower to be a bit more useful there should be a listing of the downloaded packages in an order that can be used for installation.

I've added a -j, --json flag for outputting an array of packages downloaded before exiting, which are listed in an inner- to outer-most dependency order.