implemented domainexistcheck() for client and subscription level migrations

split function into checkcatpreexisting() and domainexistcheck(), added calls to the syncclients() loop and added failed client checks to $didnotbackup file. domainlistsync() mimics the same tests of initialsync().