Implement agent settings for "agent set" and "agent list"

refs #7248