WebModules: Discard sessions in LRU order

Currently, znc has a limit of 5 web sessions per IP address. This limit exists
to defend against some obvious DoS attacks. When this limit is hit, some session
is discarded.

Previously, we would discard the session that std::multimap::find() would give
us. The multimap used mapped from IP addresses to sessions. Thus, we would
discard the oldest session.

This commit changes this into some least-recently-used logic. Whenever a session
is used, we record the timestamp of this. Then when a session has to be picked
for discarding, the one with the oldest timestamp is used.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Add identify prompt for StarChat.net

Apparently StarChat.net uses a very old (?) or obscure NickServ
service that doesn't send any of the more common prompts for ID.
(It also doesn't support nick grouping, more's the pity.)
ircline.org nickserv message support

Makes sure ZNC understands when NickServ at ircline.org (N) asks
the user to identify. Addresses #364
fix #235, erroric console output, status message overwrite

using alternative message style
otherwise ncurses/terminal codes for cursor position would seem necessary
define terminal control codes for messages, tidy, tweak ok message
Trim servername in jump command
Fixes e.g. tab-completing servername in irssi
Merge pull request #465 from jamesoff/jumpfix

Trim servername in jump command
Merge pull request #441 from psychon/websocks-expire-oldest

WebModules: Discard sessions in LRU order
Merge pull request #458 from ConorOG/issues_235a

fix #235, erroric console output, status message overwrite
Merge pull request #448 from dgw/patch-1

Add identify prompt for StarChat.net
Fix ./configure not to fail on non-bash

Thanks to jayne for patch
Fix modperl build on MacOS X

.so is not the right extension for shared objects there
Merge pull request #449 from dgw/ircline-nickserv

ircline.org nickserv message support
Channel name cannot contain space
Warn users about port 6667 in --makeconf

This should decrease chance of web browsers failing to connect to ZNC
Merge commit 'refs/pull/445/head' of github.com:znc/znc
Added CString::Join and CString::Convert

CString::Join works like python's string join, except that it takes 2
iterators (or pointers) instead of a whole collection
CString::Convert casts a string to another type using an intermediary
stringstream.
Added alias module for ZNC-side command interception and processing
Don't redefine _FORTIFY_SOURCE if compiler already defines it
Merge https://github.com/znc/znc

Conflicts:
	include/znc/WebModules.h