Add templates again so they can be used by QtCreator.
Merge pull request #53 from ahmedcharles/templates

Add templates again so they can be used by QtCreator.
Rearrange includes to improve compile times.

This also allows for memory leak checking on MSVC by having include
surrounding Qt headers, which break if you have a macro define new
to be something which tracks line information.
casts
get url
TMap::vertex
Disable various MSVC warnings.
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.
Considering that room_exits.ui doesn't compile with Qt 4.6, remove the #if guards for more recent functionality.
Phonon doesn't exist in Qt5.
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.
Fix crash in the pref dialog.
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.