Added "maxPartitionsTry" option to JobQueueFederated

* This makes the retry logic more configurable
* Also throw an error if some jobs are not inserted to match the
  other queues.

Change-Id: I363e4813ee89468cde4349ba81ea458ff4ffe446
Merge "Added "maxPartitionsTry" option to JobQueueFederated"