Enable cmake tests.

There aren't any tests yet, but there will be.
Merge pull request #83 from ahmedcharles/testing

Enable cmake tests.
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.
Refactor dlgProfilePreferences.h/cpp so that there is less code duplication. I also fixed a bug where the 'set colors to default' button didn't work for the map panel.
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.
Use TMxpElement as a value class to avoid memory leaks.