app: rename ApiContainers to ApiContainer and ApiImages to ApiImage
api_client: add queryString function

This function replaces the queryString method in the
ListContainersOptions struct. It uses reflect to "marshal" a struct or
struct pointer into a query string.