core, webadmin: Refactor quota general limitations

Use quotaStorage and quotaVdsGroup for global parameters instead
explicit parameters in the quota object.

Adapting frontend side with the changed entities of global limitation.
2 minor changes:
1. in case the it's a specific limitation set null in the quota parameter,
instead of in the model.
2. comment out the aggregate limitation columns, since they're not yet implemented

Change-Id: I8cef38c35154c17d7f35e6a0dea80706db7fa9b0
core: Fix quota update command

Fix a bug when updating quota.
For updating a new quota all the new limitations retrieved from the
GUI should be initialized
with generated ids.

Change-Id: I159e9fe6414189c2876fad7825d5b3adebaca4ed
core: Use quota when update vm disk command

Use quota when editing a VM disk.
Use permission for quota and validation for enough storage, when editing
a quota in a disk.

Change-Id: I7a23f653e94c3d504610f448574e47d8c1b70ff3
core: Fix warnings in StorageQuota

Added missing @Override annotations.

Change-Id: I86992b1d2b98c359401d3feef1571a4ecaae8838
core,webadmin: quota support for multiple storage images

Add support for multiple storage domain when using quota,
by using an images map parameter that will referenced as
destination images.
The destination images list should indicate all the parameters images
have when doing any MSD operation.

Change-Id: I3e4b7e28fb9dd3069e86bd8fdf41255398fd1e58
core: Cleanup QuaotaDAOTest

General java cleanup:
1. Proper use of JUnit features - don't call setUp directly, allow the
frameowrk to call it.
2. Make private generator methods static when possible.
3. Avoid creating new instances of Long on each run.

Change-Id: Iada674bd7ddc7a60f19e019158c2ab51649f4622
core: getQuotaVdsGroupByQuotaGuidWithGeneralDefault

Added a method to QuotaDAO to return the QuotaVdsGroup of a given quota,
and default to the general quota if no specific quotas were defined.

Change-Id: If570b42a14d6c226c7b10e21357abdc42c074406
core: General quota vds group if no specific quota

Fixed GetQuotaVdsGroupByQuotaIdQuery to return the generic quota if no
specific quotas are found for a given quota ID.

A test case was added to ensure the correct DAO is called.

Change-Id: I7eac9982473fb2fcf086b4bf03b8beb5330fd099
core: getQuotaStorageByQuotaGuidWithGeneralDefault

Added a method to QuotaDAO to return the QuotaStorage of a given quota,
and default to the general quota if no specific quotas were defined.

Change-Id: Idb890f0261810a5096181b670fbbca56654f67b6
core: General quota storage if no specific quota

Fixed GetQuotaStoraeByQuotaIdQuery to return the general quota if no
specific quotas are found for a given quota ID.

Change-Id: Id36edf1454537ad069053700b449fc4d00956b8b
core: DAO to get all relevant quotas for storage

Added QuotaDAO.getAllRelevantQuotasForStorage(Guid) that returns all
the thin quotas for the given storage - i.e., any specific quotas
defined on it and any global quotas defined on the storage pool
containing it.

Change-Id: I84d7e695afc119df4fe5db413c64dac46b5eafda
core: New query to get relvant quotas for storage

Added a new query to utilize the new DAO method and return all the
quotas relevant to a given storage ID.

Change-Id: Ie9ccff1c3cc5a65c0d57d86efdb6185e4b92e58a
core: DAO to get all relevant quotas for VDS Group

Added QuotaDAO.getAllRelevantQuotasForVdsGroup(Guid) that returns all
the thin quotas for the given VDS Group - i.e., any specific quotas
defined on it and any global quotas defined on the storage pool
containing it.

Change-Id: I6a246f3098047d3541a90f1486858ea707a8ac64
core: New query to get relvant quotas for VDSGroup

Added a new query to utilize the new DAO method and return all the
quotas relevant to a given VDS Group ID.

Change-Id: Ia1fb72e790e5d41638d20cf3db404c7672ceaaf5
webadmin: add quota ref to disk guide-me

Change-Id: I0476b1e0ba971db5c17f69f3ed60cc1e5e3c7530
webadmin: quota bug fix

because of an API change, a NPE was thrown when creating a quota

Change-Id: Ia18eed518359451d87a23035331bd0adb0df8d45
core,webadmin: fixing quota typos

Change-Id: Ia1ae3278ba14e98a033093429cbb77e9cbca026d
webadmin: quota name in general sub tab

Change-Id: I9fd4473d258d5d0c38ff2be48743b9b3d193a10e
webadmin: removing aggregated value from sub tab

quota in DC main tab
quota in User main tab

Change-Id: Icf838a4579cce6e835969ee456f24c2ea02f7b92
webadmin: fixing NPE in user Main tab

while cruising in the app, there was a NPE in user's general sub tab

Change-Id: I2c0f76875cf7c59a42cb65ca0535e7b602827521