Rescue and retry from errors in publishing

Panopticon will timeout for some publish requests, so we need to continue when
that happens and retry so that the script can run unattended out of hours.
Merge pull request #78 from alphagov/make_batch_publish_more_robust

Rescue and retry from errors in publishing