scripts/gameobject: correct reset of gameobjects (cages/prisons), move command out of if statement
Implements saving of loot (items / money) contained inside lootable inventory items.

* Unlooted items / money persist across player sessions
* Loot inside items is tied to the item rather than the player so if trading
  partially looted items becomes possible, this implementation will still work

* New tables added:

    characters_database.sql (first time users)
    characters_create_item_loot.sql (existing users)

Implementation Can be tested with:

 Watertight Trunk [21113]
 Bulging Sack of Gems [25422]
 Fat Sack of Coins [11937]

Closes #2048
Core/Script: Fix some codestyle and warnings
DB/SAI: Fix quest: The Key of Warlord Zol'Maz, closes #8564
Core/Script: Add missing changes in c364c367b1682f8f587fe2ca48dc9affb26cbfa0
Core/AuctionHouse: Fix a possible auctionhouse crash
Misc/Script: Convert winter veil mistletoe event in sai
DB/SAI: Convert more quest_end_scripts

* 12657, 12597 ,10988, 10850, 10447 and 9565
Core/AuctionHouse: Partially revert 3cf260068809 to keep compatibility with the "AHBot patch"

Note: Trinity needs/wants an auction house bot in the core but for that to happen AHBot needs to be rewritten (possibly using Mango's implementation as a base)
SQL: Fix sql import problems
Core/Misc:
- some simplifications in reputation calculation
- removed aura in SPELL_AURA_LINKED should depends on SpellDifficulty
- remove some unneeded variable declarations when it's already declared
- remove some hacks
- fix some warnings in Lfg stuff
- some codestyle changes
Script/AQ: Add Creature Text for Viscidus and fix model scaling
Merge pull request #8712 from krofna/krofixes

Script/AQ: Add Creature Text for Viscidus and fix model scaling
DB/SAI: Some minor corrections
Core/Spell: Fix Shadow's Fate aura

The aura proccs on unit's death. The unit should cast the credit spells
to
all players of the raid. I'll finish my work later.
Core/Spell: Improve/correct last commit
DB/Conditions: Fix door exploit with item "Filled Cerulean Vial"
Closes #8716
DB/Conditions: Fix door exploit with item "Vial of Frost Oil"
Closes #6658
SQL: Fix typo in 2a5fcdddd73218d7cfa6f42c97a9a9a5f2224bbf (need sleep :/)
Merge pull request #8668 from joschiwald/random_changes

Core/Misc: