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
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
Remove locals() from scheduler filters

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

Change-Id: Id476a684abde36238b5abfe8ce4c3ddb0874423b
Merge "Remove locals() from scheduler filters"
Merge "Added validation for networks parameter value"
Merge "Rename requires files to standard names."