Fix cli for python 2.6

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
Add flake8 and fix errors.

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
Initial support for 0.9
Run flake8 in travis build
Read docker api version from environment and skip some tests on 0.9
Merge branch 'fix_cli_for_py26'
Merge branch 'add_flake8'
Merge branch 'support_0.9'