Fix undefined name 'api_dep' error in deployables.py
Fix undefined name 'api_dep' error in deployables.py

Aslo Delete the module imported but unused and fix the module
imported not in alphabetical order.

Change-Id: Ica1ec08fb6dced4997c98197625d15df65aef1dd

openstack/nomad