Arcyd: refactor, extract abdi_processrepos

Move the logic of processing repositories out of abdcmd_processrepos and
into a new module so that it can be shared with the new 'arcyd start'
command.

Test Plan:
$ ./precommit.sh