Add publishing completion status polling

Now tracks and polls the publishing status for each .sd sent to the server and waits until everything has finished publishing before showing a list of successes and failures if relevant.