Add an index to compute_node_stats

This will improve the performance of scheduler lookups of compute nodes
and their associated stats.

bug 1177487

Change-Id: I0e04849543916e874ea0ddfc76c3d70ff71c09d0
libvirt: ignore NOSTATE in resume_state_on_host_boot() method.

Occasionally, libvirt would get NOSTATE from hypervisor as instance
state. Thus if we don't ignore instances in NOSTATE in
resume_state_on_host_boot() method, we would mistakenly reboot such
instances when we restart nova-compute service or on host boot. This
patch fixes this by adding NOSTATE into ignored_states.

Bug 1176897

Change-Id: I651cb043d7f97fde29b2a62e6ead8222062f01f7
Transition from openstack.common.setup to pbr.

Declarative approach to packaging, obviates the need for copying files.
Also, removes the need for setup.py to import files from the nova
module.

./run_tests.sh now ensure's that nova.egg-info/entry_points.txt is up to
date before running tests.

Change-Id: I7b7a18e065a62491ade54fbed5d8400db1d4e6c7
Nova evacuate failed when VM is in SHUTOFF status

When the VM is in SHUTOFF status and the original compute host is
down, issue the "nova evacuate" command to rebuild the VM on
another host, it is failed due to a type error: string indices
must be integers.

Fix bug 1176773
Change-Id: I76ebce6882198365717167f29a484e4ec994db0c
Merge "Nova evacuate failed when VM is in SHUTOFF status"
Imported Translations from Transifex

Change-Id: Ic42793b5844219cdc2dfed82a5e3b8aad0d88136
Merge "Add an index to compute_node_stats"
Merge "libvirt: ignore NOSTATE in resume_state_on_host_boot() method."
Merge "Transition from openstack.common.setup to pbr."