Change app.restapi to app.client_manager.session

* This prepares for the session and discovery changes to come
* All object-store api command classes and tests needed an update

Change-Id: I013d81520b336c7a6422cd22c05d1d65655e64f8
Do basic Identity discovery

This discovery is equivalent to the existing behaviour regarding
default API versions and adds validation to the user-specified
(or default) Identity client version specified.

* Bring in openstack.common.api_discovery to do the basic version
  discovery.
* Add discovery to Identity client to select the client version

All of this is necessary to handle the keystoneclient session
bits as its discovery comes _after_ authentication which is
too late here; we need to be able to specify (or discover) the
Identity version used to authenticate.

Change-Id: I3c02e3c6b3519fbd060be140a05f6b1a2f412645
Merge branch 'basic-discovery' into dt-test
Merge branch 'compute-test-fix' into dt-test
Merge branch 'identity-ec2-tests' into dt-test