Fix quest complete hook, implement it for gameobject and for smart AI

It is not completely useless, say you want to start an event of some sort when the player completes the quest (And not when it's rewarded).

I'm against removing the QuestRewarded hook.