CLOUDSTACK-5564: The deployment on other hosts in the cluster used to fail because
cloudstack though the storage pool wasn't accessible from the host. Make sure host
to pool mapping is added in the storage_pool_host_ref table when a host is added
to the cluster.
CLOUDSTACK-5587, CLOUDSTACK-5589: Router version in 2.2.x routers is null. Added null check when comparing min version
CLOUDSTACK-5300: Catch vpn add error failure, removed failed user and return failure status
fix network ACL unit test
CLOUDSTACK-5518: Fixing non contiguous vlan test case
CLOUDSTACK-4780: Changes related to checking snapshot path
 on NFS server, also made marvin import paths specific
SecurityProfile and ACL for NiciraNvpApi, including Unit and Integration tests

Signed-off-by: Daan Hoogland <dhoogland@schubergphilis.com>
create a (mini-)branch instead of creating a commit to revert
CLOUDSTACK-5612: UI > Network > Guest Networks > detailView > to distinguish between non-vpc network and vpc network(tier) easier, move VPC ID field up.
CLOUDSTACK-5606: UI > Copy Template action, Copy ISO action is now availble to region-wide secondary storage (S3, Swift).
CLOUDSTACK-5345: UI > Virtual Routers > Group by account > pass listAll=true to listAccounts API.
Resource metadata support for Disk Offering
Resource metadata support for cloudStack user
CLOUDSTACK-5390: when calculate index (page #) in NetworkManager, rely on fact that getStartIndex() returned by API, returns pageSize*(page-1). So to get index(page), you need to do the reverse calculation
CLOUDSTACK-5497: Fix test_guest_vlan_range.py to get free vlan range
CLOUDSTACK-5508. Vmware - When there are multiple secondary stores, the newly added secondary store is not being selected for backing up snapshots.
If the snapshot being backed up is a a delta snapshot, pick the image store where the parent snapshot is stored. Otheriwse pick a random image store.
CLOUDSTACK-5254: If VR is not upgraded, leave firewall rule in Active state. Rule will be applied when VR is upgraded
Added deviceId parameter to the NicResponse. This information can be useful for the user if he wants to see the order of the networks in his vm
CLOUDSTACK-5639: Cold storage migration doesn't work for hyper-v. Made
changes to make sure CopyCommand honours requests for volume copy from
primary to secondary storage and vice versa.
CLOUDSTACK-5420: The agent manager wasn't transitioning the host to maintenance
mode if their are no vms running on the host. Made the change to do so.