Fix building with libc++.

- Purged std::tr1::strlower (was never used, probably part of the old hash map implementation).
- Moved std::tr1::insensitive to irc::insensitive.
- Added TR1NS macro to point to the correct C++ TR1 namespace.