Fix security groups

Security groups are now hanlded correctly for both Nova Network and
Neutron while using direct provisioning engine.

Closes-Bug: #1381035
(cherry picked from commit b4d360895eeb445430f6857a979af1573ec93fe2)

Change-Id: Id144d6559c4fbdfede59777382d9903bd1bab0cf
Merge "Fix security groups" into stable/juno