Fix bunch of affinity group tests

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 2b0a97267617608e6695973bc768eec499b69eca)
Summary: Make vmdata_kvm.py concurrency friendly

Detail: Adds flocks, etc for calling this concurrently, since CLOUDSTACK-3484
made userdata, vmdata, start commands concurrent

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1374773177 -0600
Fix pep8 that broken marvin build 10 days ago :(

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
CLOUDSTACK-2481: the wait is in seconds in copycommand