Merge pull request #128 from ahmedcharles/settings

Fix more crashes when the window is closed before the settings dialog.
Remove dead stats code from AliasUnit.
casts
get url
TMap::vertex
foo
Setup memory leak checking on MSVC in debug builds.
Add a feature for debug builds to prompt to attach a debugger.
Avoid macro max/min with parentheses.
Resolve ambiguity between boost::tie and std::tie, pick boost.
Remove luazip lua bindings on windows.
Update the cmake build for the last commit: Rearrange includes to improve compile times and allow for memory leak checking on MSVC.
Update to Communi 1.2.1, which is the new version of the irc library.
Make mpConsole in Host into a QPointer, so it is set to null whenever it is deleted.
Don't access mpConsole if it is null.
Switch to using QPointer for the debug console.
Use QPointer for all of the pointers to Host in other types.
Fix memory leaks related to the debug window.
Fix memory leak in HostManager.
In situations where something tries to access mudlet (the class), after it is destructed, make it easier to tell what is going on.