Implement retrying on failure talking to Fedora.
Add unit test for publishing objects