crypt: Add time stamp to buffered messages

This is relevant when replaying the buffer on connect and brings the crypt module in sync with the normal logging functionality (which it bypasses).
crypt: Use ASCII for nick prefix and make it configurable

The previously hardcoded value of ‘\244’ is causing problems for clients which expect valid UTF-8 from the server/bouncer. This commit fixes #228.

The prefix is stored using a key of ‘[nick-prefix]’ in the general key/value store for the crypt module, which previously was only used for encryption keys.

This is not the best design, but the least intrusive one.
Add a Disablechan to match the Enablechan command
Whitelisted X-Forwarded-For header support
Fixed redundant removal of trailing spaces
README: ./bootstrap.sh requires gettext now because of AM_ICONV
Revert "Rewrite the JOIN channel logic, dropping MaxJoins"

This reverts commit db7c47f97d4b18bce7264af5db6331fc296ff69a.

Too many joined channels at once started to cause disconnect because of
"Max SendQ Exceeded", which is not much better than previous Flood.

Now MaxJoins is 0 by default, which preserves the current behavior of
joining all channels at once. If someone experiences those disconnects
due to SendQ, they can tune MaxJoins.

Fix #329

Conflicts:
	include/znc/User.h
	modules/controlpanel.cpp
	modules/webadmin.cpp
	src/User.cpp
Update man page: znc-config doesn't exist anymore
makepem: create pem only rw for the user, on non-win32
Fixing unaligned accesses in sasl module

Visible for example in armv5tel, without kernel fixup for unaligned accesses.
Merge pull request #372 from viric/sasl_unaligned

Fixing unaligned accesses in sasl module
Merge pull request #371 from viric/pem_mode

makepem: create pem only rw for the user, on non-win32
Change ZNC license to Apache 2.0

The following people agreed with the change, in alphabetical order:
(people who approved in several ways are listed only once)
By email:
- Adam (from Anope)
- Austin Morton
- Brian Campbell
- Christian Walde
- Daniel Holbert
- Daniel Wallace
- Falk Seidel
- Heiko Hund
- Ingmar Runge
- Jim Hull
- Kyle Fuller
- Lee Aylward
- Martin Martimeo
- Matt Harper
- Michael J Edgar
- Michael Ziegler
- Nick Bebout
- Paul Driver
- Perry Nguyen
- Philippe (cycomate)
- Reuben Morais
- Roland Hieber
- Sebastian Ramacher
- Stefan Rado
- Stéphan Kochen
- Thomas Ward
- Toon Schoenmakers
- Veit Wahlich
- Wulf C. Krueger

By IRC:
- CNU
- Jonas Gorski
- Joshua M. Clulow
- Prozac/SHiZNO
- SilverLeo
- Uli Schlachter

At https://github.com/znc/znc/issues/311 :
- Alexey Sokolov
- Elizabeth Myers
- flakes
- Jens-Andre Koch
- Jyzee
- KindOne/ineedalifetoday
- Lee Williams
- Mantas Mikulėnas
- md-5
- Reed Loden

At the last few pull requests' comments:
- Allan Odgaard
- Jacob Baines
- Lluís Batlle i Rossell
- ravomavain
- protomouse

The following commits' authors didn't respond:
Trivial changes:
- f70f1086fd0c15d7fdb9eeef95dcefe9781ac3ab
- 4ca8b50e45f3ce77f22f209979fd092b89e7d335

The changes which are not presented in master anymore:
- 5512ed2ea061b2951ae9e24e89537f8ccb021944
- 960a4498f7b04f652462dfbff131a4d7c4701fdb
- 0f739de2c083bf19c7e4ee080390a4840ccecbee
- 7f53cc810b886351c452652cc32cea9b4cca1a8c

Fix #311
Fix #218
Don't make backup of znc.conf readable by everyone.

It doesn't really matter, since the whole ~/.znc/ is not readable, but
it's better to be safe.
Fix "Error: Success" message in Csocket

When SSL remote closes socket without handshake.
Patch is submitted to upstream Csocket too.
Merge commit 'refs/pull/310/head' of github.com:znc/znc
Fixed wenet.ru's nickserv request.

Wenet.ru uses control characters in the nickserv request. It sends something
like "\x02/NickServ IDENTIFY \x1Fpassword\x1F\x02", so no wonder the
CString:find() was failing.
Merge pull request #376 from nurupo/master

nickserv: wenet.ru's nickserv request fix
Fixed double forward slashes and incorrect active module highlighting.
A bit more debug output on modperl