Serialize uploads to the same parent.

- This will serialize only uploads to the same repository (e.g. multiple
  IBs uploading at the same time), but not uploads done in different
  repositories (e.g. COMP and CMSSW, or IB and production releases).
Merge pull request #45 from ktf/serialize-parent-uploads-only

Serialize uploads to the same parent.