Fixes get_vm_storage_paths issue for Hyper-V V2 API

Add get_vm_storage_paths function to vmutilsv2.py

get_vm_storage_paths implementation on Hyper-V V2 API changed
compared to previous V1 API. In previous V1 APIs, using
Msvm_ResourceAllocationSettingData class can get storage
paths, but in V2 API, only using Msvm_StorageAllocationSettingData
class can get the storage paths.

Closes-Bug: #1248463

Change-Id: Ica73221524f162a6ffcd9dc64ee33c85fb5ad31d
Fix interprocess locks when running unit-tests

When running unit-tests concurrently using testr, we might
need to use interprocess file locks (e.g. for running various
tests using the same DB in MySQL/PostgreSQL).

At the same time file locks are only usable when they are placed
to one dir, and we have a test fixture that overrides the lock_path
config value for each test case with a new temporary directory.

The solution is to create the one temprorary directory for locks
to be used by all tests before running tests and then remove it
after running tests. The corresponding helper has been already
put to openstack.common.lockutils module, we just need to reuse
it properly, i.e. change the way unit tests are run in tox.ini.

Closes-Bug: #1261728

Change-Id: I76f95a9f7fdd31c15e6cf4fd6316c7569284f780
When inject admin password, no need to generate temp file

Remove the useless steps in _inject_admin_password_into_fs function

Change-Id: I878c7d6d8c081c98e2e5eb2706bfa0d17d298f07
Fix parameter checking about quota update api

In quota_classes and quotas update API, parameters are checked
whether they are integer or not.
But when pass float values to these APIs, error doesn't occur.
Float values should be forbidden for the following reasons.
(1)If the value that user submitted and the value registered
   actually are different, user will be confused.
(2)Error messages of these APIs are "...must be integer...".
(3)In horizon, if a float is submitted, error message is displayed.

This patch fixes this problem.

Change-Id: I4c7df52ffff2d997da4e6267e25ec2ea4ab6f153
Closes-Bug: #1243037
Merge "Fix parameter checking about quota update api"
Merge "Fixes get_vm_storage_paths issue for Hyper-V V2 API"
Merge "When inject admin password, no need to generate temp file"
Merge "Fix interprocess locks when running unit-tests"