Do more checks if a Player can enter a map On Login

Also please feedback some experience what is supposed to happen in such cases.
AI-Event throwing and receiving implementation

Add new AI hooks to
* SendAIEvent (either around the npc, or to a specified npc)
* ReceiveAIEvent (hook to receive sent events)
Add ACTION_T_THROW_AI_EVENT and EVENT_T_RECEIVE_AI_EVENT to EventAI

A few heads and tails i see:
* An event usually has: Sender + Invoker, so we might need a new target-type to support both
* most eventAI Events are not triggered with an TARGET_T_INVOKER, so it is unclear how we could ie:
  Throw Event CRITICAL_HEALTH on 5% health - so for a healer the event-sender is good to know (and already known)
  But for a dd maybe the event-invoker (or dmg-dealer) would be better choice for knowing and to place an action onto him

* Do we need more AIEvent types for EventAI (maybe even switch to uint32, where first byte == sd2, second byte == eventAi, third byte = db-scripts forth-byte=core)
* Which parts currently in the core can be transferred to this system?
  As example I have in mind to replace SD2's dynamic casts for like starting an escort with event sending (EVENT_START_ESCORT)
More check on raid reset loading. If db reset time is corrupted and/or set in far future it was never been updated.
Calendar, first commit implement calendar classes and data structure.

Thank to Spp (trinity dev) for initial research and implementation.
Thank to Horn, Warpten and maybe some other for the rework of the original
version.
Next commit will be inspired by their work.
Calendar, add log filter
Calendar, method to unpack a packed time
Calendar, basic implementation of SMSG_CALENDAR_SEND_CALENDAR Olso added forgetted destructor for CalendarEvent class.
Calendar, handle Add/Remove event

Thank to Kid10 for pointing better way of some var initialisation.
Calendar, handle get event, invite player and answer to invite
Calendar, handle remove invite, update event status and get num pending action.
Calendar, handle complain opcode
Calendar, handle change moderator status
Calendar, handle update event and restore build
Calendar, handle copy event
Calendar, handle guild massinvite function
Calendar, handle signup to guild event.
Calendar, optimise an assert place, escaping player name, and rename function.
Calendar, rework some security check in handler.
Calendar, remove event and invite when deleting a char