retry on ratelimit

Added a retry_on_ratelimit parameter to the Connection
class so that ratelimited requests can be retried.

DocImpact

Change-Id: I2817a7ea0ed2d69a7659e80111fbd2c91a75d530
Replace xrange in for loop with range

xrange is not supported in python 3, so replace it with range since no
large size lists involved.

Closes-Bug: #1237717

Change-Id: I4e5e0782153d32c8beee03f7d871722ed4352859
Install swiftclient manpage

Currently the existing manpage isn't copied to /usr/local/man/man1
when installing swiftclient from source. This patch fixes this.

Change-Id: Ib2ee091d5e1d4c37a4e5a00f50fa19df44bd3c41
Partial-Bug: 1269715
Add capabilities option

This patch adds a capabilities option on swiftclient.
This option uses the new /info endpoint to request the
remote capabilities and nicely display it.

Change-Id: Ie34b454511d5527e402e66e1fdb72120f427f2fd
assertEquals is deprecated, use assertEqual

Change-Id: I226d9046d25d681beea60d38b029b71f9e6bf86c
Merge "Replace xrange in for loop with range"
Merge "retry on ratelimit"
Install manpage in share/man/man1 instead of man/man1

According to FHS 2.3 the correct place to install the manpage for a
binary in /usr/local/bin/ would be /usr/local/man/.

However, on Debian/Ubuntu-based systems /usr/local/man/ is a link to
/usr/local/share/man/ and on other systems /usr/local/man/ might not
exist at all.

Even worse, if the client is installed in /usr/bin/ the manpage
should should be installed in /usr/share/man, but will be installed
in /usr/man/ which is completely wrong.

This patch fixes this and uses share/man/man1 as common prefix. Doing
this will install the manpage either in /usr/local/share/man/man1 or
/usr/share/man/man1.

Partial-Bug: 1269715
Change-Id: I590932f00476eacd434cdae012fd62010845581d
Updated from global requirements

Change-Id: Icebd5bed50a50930bde0305191e32628d93348c0
match hacking rules in swift

Change-Id: Iee02978f38ca020754f52ceaed6aa3684fa87bc9
Merge "Add capabilities option"
Merge "Updated from global requirements"
Merge "assertEquals is deprecated, use assertEqual"
Merge "Install manpage in share/man/man1 instead of man/man1"