CLI: Add basic agent command functionality (add, remove)

Prepare for set, setup, wizard, *list.
Change repository files to .repo, rename .peer to .settings

refs #7248
refs #7255