Fix TEvent handling so it doesn't crash anymore.
Merge branch 'release_31' into development

Fix TEvent handling so it doesn't crash anymore.
Add a feature for debug builds to prompt to attach a debugger.
Merge pull request #169 from ahmedcharles/debugger

Add a feature for debug builds to prompt to attach a debugger.
Update to Communi 1.2.1, which is the new version of the irc library.
Fix deletion of the various types of user created objects. This probably doesn't fix all instances, but it should be much closer.
Fix memory leaks in the way pcre is used.
Remove additional string copy from QByteArray.

Don't leak the string that defines the regex and since QByteArray's are
null terminated and contiguous in memory, we don't need to copy them.
Make mpConsole in Host into a QPointer.

QPointer is set to null when the thing it points to is deleted.
Don't access mpConsole if it is null.
Remove dead stats code from AliasUnit.
casts
get url
TMap::vertex
Avoid macro max/min with parentheses.
Remove luazip lua bindings on windows.
Make HostManager a member of mudlet (the class) rather than a global singleton so that its lifetime is better understood.
Boost includes <hash_set> on GCC unless BOOST_NO_HASH is defined which causes a deprecation warning on newer versions of GCC.
Eliminate some warnings by using negative values for constants in ctelnet.
Fix leaks in XMLimport.