message: fix PEP8 issues

Some code fragments were slightly re-factored to make this work.
In particular long iterators are explicitly constructed on the
preceding line.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
message: re-flow overly long license

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
message: replace import * with explicit import list

the 'from foo import *' is particularly evil as it breaks most
code analysis possible. It is also discouraged by python and is
already a SyntaxError in certain cases

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
message: add missing PEP8 newlines

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
message: add required PEP8 whitespace around operators

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
message: split composite statements

Split all lines that have multiple statements into dedicated lines

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
message: fix overly long lines

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
message: remove unused variable

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
user_interface: remove unused imports

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
user_interface: sort import lines

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
test_job: random PEP8 fixes
variables: random pep8 fixes

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
plugins: random PEP8 fixes

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
plugins: fix missing import

FAIL is used but not imported anywhere

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
setup: don't shadow errno

errno is a module name, it should not be shadowed by a local

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
setup: remove unused imports

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
test_submission: remove unused import

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
Added new globs test and test definition
Include the readiness error message in the job result

If the job is not supported, the readiness error message is dumped in the
comments field.
Add the option to export the results comments