Improved container-sync resiliency

container-sync now skips faulty objects in the first and second rounds.
All replicas try in the second round.
No server will give up until the faulty object suceeds

Fixes: bug #1068423

Change-Id: I0defc174b2ce3796a6acf410a2d2eae138e8193d
(cherry picked from commit 8b140033f01333fbd6d41e2946db949ab6f92599)
Use role in insensitive case in keystoneauth.

Using insensitive case could tolerate human error. For example,
user maybe set like this "operator_roles = Admin, swiftoperator"

- also fix a mistake in test, ['admin'] is correct value for roles, not
  'admin' (it will be looped as ['a', 'd', 'm', 'i', 'n'])
- add test for insensitive cases

Fixes: bug #1013120
Change-Id: I56d71da8bc503e48e92dd743692ba6fc237f029e
(cherry picked from commit 7dd966192a43f9937c3e9ac576708447634cdc00)
fix stupid bug with bulk delete max items

Change-Id: I52160b5e7480112d536c45dd4b0b10a808adcdcd
(cherry picked from commit 1b150749f7a47f40f346213ea901fd439838c478)
increase unit test coverage on account server

Change-Id: Id728a17180f4ee2e31edaef0af6d26446b6014c2
(cherry picked from commit a5ba0d5edc3633557506d4abb160c39cde834d89)
Merge "Use role in insensitive case in keystoneauth." into milestone-proposed
Merge "fix stupid bug with bulk delete max items" into milestone-proposed
Merge "increase unit test coverage on account server" into milestone-proposed