Fixed bug in URI parsing when multiple subdomains are registered

In case multiple subdomains are registered, CloudControllerClientImpl.extractUriInfo() was picking the first one in the order returned by the provided map's iterator (Map<String, UUID> domains). Now selects the most specific one (the domain with the longuest size).
Added associated unit test. Since it was impossible to properly inject mocks, I had to create a new protected constructor. Would be useful to move the initialize() call out of the constructor in future to each such tests
Merge pull request #84 from Orange-OpenSource/uri-parsing-fix

Fixed bug in URI parsing when multiple subdomains are registered (from gberche-orange)
Additional fix for regression introduced in edcb7a8 with does not propagate the HTTP proxy config to OAuth anymore

Propagating fix to refreshToken() which was also impacted. Moved the propagation of the request factory into the createResourceOwnerPasswordAccessTokenProvider() method.  It was hard/verbose to unit test this with little added value. I'll rather complete the integration test which is still on my todo list.
Merge pull request #86 from Orange-OpenSource/oauth-proxy-fix-2

Additional fix for oauth proxy regression