Pass project id in quantum driver secgroup list

The quantum driver is always returning security groups from every tenant
a user has access to, even when the "project" filter is supplied.

Make sure we pass along the project value when we call
quantum.list_security_groups() so it's properly filtered.

Fixes bug 1155381.

Change-Id: I682c66a1f3f9db18b5f9924a37b45c759ff259f7
(cherry picked from commit 775e3b02b2afbf101db22b87a1c3b189d68532e1)
Reset ec2 image cache between S3 tests.

We recently introduced EC2 image caching in f87fa629.

On some python 2.6 distros I'm now seeing nova.tests.image.test_s3
failures caused by test ordering issues. Tests appear to reuse
IDs and this can cause issue if we don't clear the cache in tearDown.

Fixes LP Bug #1158935.

Change-Id: Ifeedaf7a784b787de95d2f36394216cf7c94c5f4
(cherry picked from commit 12f7d6332a731421d6e2a190ac60828c1cf98910)
Merge "Pass project id in quantum driver secgroup list" into milestone-proposed