Add OAC syncing code

Adding code, tests and fixtures for syncing the registry to the OAC.

Fixed bug with saving existing repos that have already had arks assigned.