Test for remote directory creation before shutting down instance

This patch moves the creation of the directory on the migration target
earlier in the code path so we can catch failures like missing or incorrect
keypairs on the source and destination node.

This fixes part of bug #1061024 but not all of it yet.

Change-Id: I097cf007cdd8de0c9c3a9390cbc6dc202eddb2b5
Fix and enable flake8 F823

F823 local variable 'blah' (defined in enclosing scope on line xx)
referenced before assignment

Change-Id: I721e1339ef023558032980bbf59e8dc44b391d52
Enumerate Flake8 E12x ignores

Instead of ignoring all E12x errors, ignore only the failing ones,
so its easy to fix each one separately.

Change-Id: Id365f4d61be56b51823ead8c7c1948e034ea609b
Add posargs support to flake8 call

Add posargs to flake8 call in tox.ini, with this you can pass arguments
directly into flake8 using the following notation
  tox -epep8 -- --FLAKE8-ARG

Change-Id: I1296eac3df46438ef050bf99ca33eb38d3b02efa
Cell weighing class to handle mute child cells

Give negative weight to child cells that have not recently sent
capability or capacity updates to their parent cell.

Change-Id: I7cada3e1b6f04c48b71c82d8e0a8527e44674abd
Add update method of security group name and description

make it possible to edit the name and description of
common security groups, we can not rename the default.

Fixes: bug #918393

Change-Id: Id6e02cd1054452889282b3ff4fb04b2071980cc8
Merge "Cell weighing class to handle mute child cells"
Merge "Fix and enable flake8 F823"
Merge "Enumerate Flake8 E12x ignores"
Merge "Add posargs support to flake8 call"
Merge "Test for remote directory creation before shutting down instance"
Merge "Add update method of security group name and description"
Merge remote-tracking branch 'm_src_repo/citrix-fixes' into build-temp