Fix minor test, warning & pep8 issues (Python 2.6)

A bug is fixed in the test of "add_subcmd" of "kamaki.cli.cmdtree".
A warning on using the deprecated "message" name in ClientError has been
dealt with.
Pep8 issues concerning the modified files are fixed.