adding in retry all <status> option. enhanced the circle list option

This PR does two things:

* adds a `retry all failed|success` option that lets you retry all the projects that match a `failed` or `success` status.
* Enhances the `list` option to check for empty responses, and uses modular functions for these actions.

Tested locally, but I recommend testing on your end as well.