continue updating functions to handle errors

- showcheckouts, showholds, showpickups, showcard, get_list
- reformatted add_to_list (which is used by a rake task) for
  readability.
- all functions pass tests locally

Signed-off-by: William Rockwood <wrockwood@tadl.org>