Improve feature detection in configure.
Merge pull request #521 from SaberUK/master+configure-tests

Improve feature detection in configure.
Fix kqueue test on non-Apple BSDs.
Merge pull request #536 from SaberUK/master+fix-kqueue-test

Fix kqueue test on non-Apple BSDs.
Fix the poll socket engine.
Merge pull request #537 from SaberUK/master+fix-poll

Fix the poll socket engine.
Fix GCC warnings about using C++11 features when not in C++11 mode.
Merge pull request #538 from SaberUK/master+silence-gcc

Fix GCC warnings about using C++11 features when not in C++11 mode.
Fix padding bug in GenerateSID(), spotted by @ShutterQuick
Added a function to replace all the ugly sprintf-ing everywhere
Purge the old chanlog code from the module file.
Remove the size argument from IsChannel and IsNick.

There was only one case (which was probably an error) where these
methods were not set to their ServerLimits value.
Merge pull request #541 from SaberUK/master+chanlog

Purge the old chanlog code from the module file.
Merge pull request #543 from SaberUK/master+sizeparam-removal

Remove the size argument from IsChannel and IsNick.
Deduplicate hex string creation code
irc::stringjoiner cleanup

- Get rid of unused constructors
- signed -> unsigned
- return const ref from GetJoined()
irc::tokenstream and irc::sepstream cleanup

irc::sepstream does not require virtual methods
Remove unused UserManager::ServerPrivmsgAll()
Get rid of the NICKForced extension

Don't run OnUserPreNick when the nick change is forced
Change the signature of User::ForceNickChange() to accept const std::string& instead of const char*