Core/Loot: Fix lootable items so they can be moved in inventory, and also fix lootable items not saving items that fail conditions to the DB. Closes #10548