Use six for user input

--HG--
extra : rebase_source : 4bb2897d350d88787fb9a564291605c8e52ca690
Use six for http.client
Replace uses of 'urllib' and 'urlparse' with Python 3 idioms via six
Correct PEP8 violation
Update more references
Yet another instance of urlparse
automatically set the SPEC file version based on existing setup.py logic

This borrows an approach we use in Image Factory which we, in turn, borrowed
from the Oz tool.  It has worked well.

The special case of release='0' allows frequent RPM rebuilds during development
with sensible version/release progression.  That is, a quick change and rpm rebuild
automatically results in RPM packages that have a "newer" release.

Formal RPM releases can be done by simply setting release to a non-zero value either
in master or in a release branch.
small bug in interactive import example
Merge pull request #410 from imcleod/bug/import_sample

small bug in interactive import example
Revert "small bug in interactive import example"
Merge pull request #413 from rackspace/revert-410-bug/import_sample

Revert "small bug in interactive import example" - should have been against the working branch, not master.
Version 1.9.0 - removes swiftclient dependency

Also fixes several other issues - see the RELEASENOTES.md file for a
full list of changes.
Merge branch 'master' into working
Correct import
Merge with working
Merge with working
Fixed issue with class variables. GitHub #392

The attributes 'completed' and 'results' for the BulkDeleter class were
defined as class variables. Since this class is often used in threaded
apps, this can cause issues.

Thanks to Lars Butler for catching this.
Merge pull request #405 from imcleod/feature/rpm_auto_version

automatically set the SPEC file version based on existing setup.py logic
Added flexibility to get_server_networks(). GitHub #400
Fetching objects containing JSON returns actual content. GitHub #432