Get or create deployment in parent process

Doing this in the parent process avoids a race condition
where two consumers for a single deployment attempt to
create new deployments at the same time. Thus, creating
duplicate deployments.
Merge pull request #235 from ramielrowe/dup_dep_fix

Get or create deployment in parent process
Made Nova flavor field name configurable