Make nova-api use servicegroup.API.service_is_up().

Fix bug 1168861

Change-Id: I1e7e8f7519ec627b96736f74ee7123d101973544
Added validation for networks parameter value

A validation check is added for networks parameter value.
In server create request body, if networks parameter value
is not stored in a list then 'Bad networks format' error
is thrown with bad request exception.A new test case is
added to verify whether it is returning bad request exception
when invalid syntax is used.

Fixes: bug #1175683

Change-Id: I457a1626c56281f89d8c4a606ccc0d0e3aea05fa
powervm: Move tests under tests/virt/powervm

Change-Id: I9c70a665bce416a46266ba203481b5eac2f62972
Make it easier to add namespaced rpc APIs.

Add an additional argument to the base create_rpc_dispatcher() method.
When a manager wants to override create_rpc_dispatcher() to add more
callbacks in their own rpc namespaces, it can just call the parent class
with the additional APIs to include.

Change-Id: I9cba8b176b35f55ba9d71365d0a8bf25d2ae311f
Removed session from fixed_ip_*() functions.

Removed session objects from public fixed_ip_*() functions
in nova/db/sqlalchemy/api module. Minor code refactiring.

blueprint db-session-cleanup

Change-Id: Ic2a96270745799496e365aee0380ac079e1edeff
Merge "powervm: Move tests under tests/virt/powervm"
Share checks between create and rebuild

DRYs up the checks between create and rebuild in preparation for additional
checks going in.

Change-Id: I04a8448f7a3a4e1176b40f943ea9c90c06ba8ece
Merge "Make it easier to add namespaced rpc APIs."
Imported Translations from Transifex

Change-Id: I84eada7abbc7f73514f2b92fc2024fcbd2736af7
Rename requires files to standard names.

Rename tools/pip-requires to requirements.txt and tools/test-requires
to test-requirements.txt. These are standard files, and tools in the
general world are growing intelligence about them.

Change-Id: I68ece8406fb1d4e082a42db8e76e17b1aaa7e775
Fixes: bug #1179008
Merge "Make nova-api use servicegroup.API.service_is_up()."
Remove locals() from scheduler filters

Just removed locals() and replaced it with an explicit dicionary.

Change-Id: Id476a684abde36238b5abfe8ce4c3ddb0874423b
Merge "Imported Translations from Transifex"
Merge "Removed session from fixed_ip_*() functions."
Merge "Remove locals() from scheduler filters"
Merge "Added validation for networks parameter value"
Merge "Rename requires files to standard names."
Merge "Share checks between create and rebuild"