Refactor chat code

The script events are not implemented yet. This is only the initial
commit to make chat code more customizable with Lua.
Implement scripted chat channel events
Add Lua function sendChannelMessage

sendChannelMessage(channelId, type, message)
Add optional third parameter to doRemoveCondition

You can now specify condition subId as the third parameter
Add optional subId to getCreatureCondition

You can now specify condition subId as the third parameter
Load chat channels
Add Lua function getPlayerAccountType(cid)
Fix bugs
Merge remote-tracking branch 'origin/chatchannel-events'