core: Fix illegal images handling

Illegal images should be deleted from DB each time we switch active
snapshot since they are not treated by the images command (they might
not be a part of the target snapshot images).

Additionally the created illegal images need to be linked to the active
snapshot which is determined when switching snapshots.

Change-Id: I8defc2660cf9404a088050dd10df8632d79f1de5
core: Further generalize MultiValueMapUtils

Add support to MultiValueMapUtils for other collection types, instead of
just assuming ArrayList is used.

Change-Id: I1d03ec0716034fb94c67b827c0befe676dba351b
core : Fixing NullPointer at MoveOrCopyDiskCommand

The following patch will fix a NullPointerException which is occurred
during copy template disk. Exception was cuased by some refactoring at MoveOrCopyImageGroupParameters class

Change-Id: I462c14ace4dfabe084fe478cfcead628a72630cf
engine-core: vdsbroker ResourceManager cleanup

ResourceManager cleanup

Change-Id: Ia325593193d0b74439824e8a21a2086462b5fe8d
core : Fixing ExportVmCommand

Error is during coping one of the images we did not stop the whole operation at case of failure,
as a result vm stucks in status of ImageLocked

Change-Id: I6d6c0a5612befff20b75bd43b60702cf6084a552
core : Fixing ImportVm

At importVm we should call endAction of imported images, the fix is adding a call for that

Change-Id: I45a35aa2293152d1e918712ec86e11edc2cff61d
engine: Add quota name to handlers

Add quota name to VM handler and VM template handlers since this is a
transient field which should not be updated and it is only being used
for presentation only.

This patch should fix a problem when unabling to change VM/VmTemplate properties.

Change-Id: I4b1409212dbb226c26297cf20b88bc95d2007531
webadmin: Prevent exception on install dialog when no host os.

Change-Id: If6289272a7320933f629f0a9acd69d97f9b36fff
webadmin: auto open sub menu

no bz

Change-Id: Iffc52644cbd471618c43123e7785a1c8612990f1
engine-core: minor cleanup in SearchQuery

Small cleanup

Change-Id: Ib27391b342f68e3af83d17f84715afa8f3e316d3
core: Enable live snapshot only for compatible DCs

Live snapshot is an SPM operation, so need to check that at DC level it
is supported (otherwise Host might not have this action available).

Change-Id: I392164ba43db994770ecd677a15a58f44a1acb93
webadmin: Error in serach jump to wrong tab

no bz

It happend because IsSearchStringMatch procedure wasn't overriden for
ReportsListModel and QuotaListModel

Change-Id: Icd867bebda28350c637569a3b6df4528c9619731
core : Adding support for multiple storage domains at AddVmPoolWithVmsCommand

The following patch will add support for multiple storage domains at AddVmPoolWithVmsCommand
The patch contains some refactoring which was done in order to not duplicate a code

Change-Id: I0d4992f9d7fc24569044c84b9d524683194d5461
core : Fixing MoveOrCopyDiskCommand

During copy we should set destinationImageId to origin imageId

Change-Id: I62f0b1787b8602d3c83276ecb456a074d4dd4097
core: limit setupnetworks to cluster 3.1, and datacenter 3.0

Change-Id: Iad1beef675fd07bf0bd0b950a9bf3093c8e5ea80
core: rename upgreade script

Change-Id: If754062280e1fe5cb2948e08f0e4cf61cd6c691a
core: Add validation for snapshot while stateles

Snapshot can't be taken while VM is running in stateless mode (which is
identified by the existence of the stateless snapshot).
This is why validation was added for snapshot creation that VM is not
running as stateless.

Change-Id: Ie50aa496a5cb2b7740a87d9abe28c6c7de2493f7
core: Fix update disk after image_vm_map removal

The check for old disk was not correct after removal of image_vm_map and
now is fixed to check that the old disk given actually is active and
belongs to the VM.

Change-Id: Iab9c19c1119afd7be9082fca16dcd24818b3ef4b
webadmin: adjust location of sub menu open in mouseover

no bz

In a previous commit I change the MenuBar so that subMenu will be opened
automatically on mouseover. This fix introduced a bug, because submenu
popup location wasn't adjusted in this case.

Change-Id: I61f6f9de3d70e53b2ae9ebf98e3384606de2e232
core: Fixup NPEs

1. NPE when not receiving images from UI for clone from snapshot
2. NPE when there is a failure in VDSM to copy image

Change-Id: I91a848edb2d0cd1755126ea3b7a8af68eaa45758
Acked-By: