Rearrange some Timer code.
Merge pull request #159 from ahmedcharles/replay

Rearrange some Timer code.
Fix warnings.

One instance of a unnecessary switch statement.
One instance of an unreferenced parameter.
Merge pull request #160 from ahmedcharles/warnings

Fix warnings.
Remove dead code.
Merge pull request #168 from ahmedcharles/dead

Remove dead code.
Setup memory leak checking on MSVC in debug builds.
Enable better tracking of PCRE allocations for memory leaks.
Update lua_yajl to have better memory leak detection.
Improve lua's memory leak detection.
Merge pull request #163 from ahmedcharles/msvc_leak_detection

MSVC leak detection changes.
Add bool conversion to fix potential bug.

Binary operations promote to int, which means that the comparisons here
are not guaranteed to do what the code is meant to do. Explicitly
converting the result of the bit-wise and means that the comparison is
guaranteed to work.
Merge branch 'release_31' into development

Add bool conversion to fix potential bug.
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.
Fix TEvent handling so it doesn't crash anymore.
Make mpConsole in Host into a QPointer.

QPointer is set to null when the thing it points to is deleted.