Remove py3kcompat module

Remove use of py3kcompat module, which has been removed from oslo-incubator.
Replace it with six, which is already in the dependencies.

Update common apiclient from Oslo for that. I've updated
to oslo-incubator of commit 04a1abe59ac39890f57d2eed57d3d1b12bb5d757

List of recent changes:

04a1abe Revert "Removed set_loaded() method from Resource class"
86707cd Remove None for dict.get()
6650435 Fix usage of dict.keys in apiclient.exceptions
35dc1d7 py3kcompat: remove

Change-Id: Iab72688ea3ae7ff4c9c707b7939e1a12ff1a72b2
node-get-console incorporate the changes in API

As of commit I6c5818052e18ddfbcc148a18976ba5873b644039 to ironic
changed the return value for the console GET api from string to
a JSON object, this patch made the corresponding changes in the
node-get-console command.

Change-Id: I4d12a966e24a3ac04a0dfbb7d1fa489b69201749
Closes-Bug: 1307555
Sync latest code and reuse exceptions from oslo

Module `ironicclient.exc` contains exceptions which equal to exceptions
from oslo common code.
This patch:
- sync latest code of `apiclient.exceptions`(hash of last commit in oslo
related to apiclient.exceptions: 3570f44d5ccf52c59cc586bed1446b874fc3c07c)
- reuses exceptions from common code
- removes needless exceptions from `ironicclient.exc`

Related to bp common-client-library-2

Change-Id: I784007f36dd6a63fc4c77e0d0f0f000e05eb792f
Merge "Remove py3kcompat module"
Merge "Sync latest code and reuse exceptions from oslo"
Updated from global requirements

Change-Id: I7b6141b9d0cfea247ec5642b37dc1a45f3abfbb0
Reuse module `cliutils` from common code

This patch:
- removes unused method `common.utils:pretty_choice_list`;
- removes unused method `common.utils:find_resource`;
- removes unused method `common.utils:exit`;
- adds alias to `cliutils:args` in `common.utils`;
- adds alias to `cliutils:env` in `common.utils`;
- reuses method `print_list` from `cliutils`;
- reuses method `print_dict` from `cliutils`.

Related to blueprint common-client-library-2

Change-Id: I42318c6947509d4338309d03e722d822182bbc5d
Updated from global requirements

Change-Id: I00470eca0b3b4eb788e4184d8a37cac09bcd1260