Replace foo.next() with next(foo)

This patch uses the newer syntax for stepping over an iterable,
with an eye toward Python 3 compatability.

Change-Id: I9763596c0230f807557d0f2bf33d00124937b17c
Print caught exceptions in cli

Show information about errors caused during
the marconi-server call.

Change-Id: If136716834d9f0f8f0c51625f874f375d0eee316
Fix: bug #1201562
Cleanup PATCH Claim Tests

This makes the PATCH claim tests more explicit.

Tests: bug#1200664
Change-Id: Icac834b4b621dac92afdc5f8e6c8fe609f5f300e
feat(storage): do not restrict the container type

In Python, container is a concept, not a specific type.  The original
implementation limit the container to list, while this change allow you
to use other containers, like tuple, to supply as a sequence of the
message IDs.

Change-Id: I347e764ed0e965f17aa49f3e80f2f100ba8ba495
Merge "Cleanup PATCH Claim Tests"
Merge "feat(storage): do not restrict the container type"
Merge "Print caught exceptions in cli"
Add Test for Health endpoint.

This patch adds test for the health endpoint.

Change-Id: I5475e5ad8bf3c3ad5125fadc4b6f221747982b48
feat(wsgi): check for client media type support

Change-Id: I2c473bb158c68fe87671e4dea19f9063e33b3f58
Fixes: bug #1177947
Merge "Add Test for Health endpoint."
chore: switch to py3 print function

Also fix other problems due to flake8 upgrades.

Change-Id: I5cb6194e48c66e40ec7aa9739eb37550d6bf3e2a