add API function global.apiNewOwnedQuest

This avoids being unable to log in because of pending new quests
(e.g. after learning a new skill).