Align with 0.8.0 pypi tarball.

Change-Id: I790e757cc80f0ab73cbda2f62102c6b9dc1ef0d3
Report name resolution errors properly

Errors in name resolution have been logged previously with the url path
rather than the hostname. That resulted in incorrect errors like:

InvalidEndpoint: Error finding address for
/v1/images/detail?is_public=none&limit=20: [Errno -2]
Name or service not known

rather than one mentioning hostname itself. This patch changes the log
message to fit the situation.

Change-Id: I1eecbcb22d41b1341c214937b9cbfd046fd301a0
Replace SchemaNotFound with HTTPNotFound

Fixes bug 1131682

Change-Id: I615acbef0411677cae5d30262702babd900c0c81
Use getattr properly in legacy shell

Fixes bug 1131703

Change-Id: If97f422af170c29785d2bf8884fafff979031e14