Fix spelling error in blockuser.

Thanks to the-me (Patrick Matthäi) for the patch.
Update Csocket, fix #254
Fix a typo and user modes.

Thanks to KindOne for noticing it.
add string searching for autoattach
include Module when instantiating CAttachMatch

This allows for the use of stuff like %nick% through ExpandString in the
search feature.
remove pModule from Ismatch
Add CModule::ExpandString()

It chooses which ExpandString() to call, of user or of network.
Update server-time to new specs with ISO 8601
Fixed minor typo in webadmin module.
Merge pull request #258 from Lavode/master

Fixed minor typo in webadmin module.
Allow loading webadmin as user module.
Webadmin: don't modify listeners if loaded as user mod

Thanks to TheLordOfTime
Webadmin: Show instructions on how to use networks in Add Network too

not only in Edit Network
Show example timezone in webadmin
CModule::OnMode(): Fix a stupid NULL pointer dereference

When joining a channel, OnMode() (via SetModes()) was called with pOpNick ==
NULL. This bad pointer was turned into a reference and given to modules.

This bug exists since 2008 when the OnMode() module call was added. It wasn't
noticed before because apparently no module used this CNick argument before.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Check detachedness of chans. Fix #220
Fix readme links

Thanks to miniCruze for reporting it
Fix readme links again...
Makefile: Fix generation of the VERSION_EXTRA flag

When you checkout the znc-1.0 tag and try to build znc, this will fail. The
reason is that "git describe" prints just "znc-1.0" and the sed-magic in the
Makefile fails to handle this correctly.

Fix this by moving this magic into a short shell script which doesn't try to
parse the output of "git describe" but instead gets its information from various
sources directly.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Make default type of cert mod to be network.