InventoryDataManager - changed add/update lot and add/update transaction to use positive IDs in saving.

Reviewer: Daniel Villafuerte

Issue: GCP-8805
if gid is already existing on a specified location, it is ignored.
= update amount NOW

Inventory Management System
- Changed Lot.source (Lot) to Lot.sourceId (Integer)
- Changed Transaction.quantity and Transaction.prevAmount from Integer to Double
- Refactored the code based on the above changes
- Updated InventoryService.addLots() to include the parameters amount (for quantity) and sourceId (listId)
- Moved IMS pojos to org.generationcp.middleware.pojos.ims
- Moved IMS DAOs to org.generationcp.middleware.dao.ims

Reviewer: Daniel Villafuerte

Issues: GCP-8820, GCP-8802
InventoryService / InventoryDataManager

- Updated getInventoryDetails to include comment
- Renamed InventoryService.addLots() to addAdvanceLots
- Refactored addAdvanceLots to update lots if the given gids exist (old implementation: updates only if the given gid/location/scale combination exists)

Reviewer: Daniel Jao

Issue: GCP-8820
fix the field list
this is the fix for setting the amount (update)
Merge branch 'branch_inventory_mgt'