include/servtree.h: fix null pointer dereference

svs can be NULL when we are logging /stats <letter> services. so check
for that case before looking up ->logtarget.
chanserv: Don't allow kick or deop on services.

Also add an error message, and allow opping services (should have no
effect).
Merge branch 'bugfix-1' of https://github.com/ilbelkyr/atheme
chanserv/flags: Require single parameter starting with '+' for filtered flag listing.

This avoids triggering the filtered flag listing when trying to view or
modify flags on a hostmask, exttarget or group.
Merge pull request #373 from ilbelkyr/csflags-fix

chanserv/flags: Require single parameter starting with '+' for filtered flag listing
saslserv: drop support for DH-AES and DH-BLOWFISH

Both mechanisms have serious design flaws which make them insecure.  To fix the
design flaws would make both mechanisms incompatible with current implementations,
and provide little-to-no gain over using PLAIN in a TLS channel instead.

Thusly, we drop support for them.
update NEWS to reflect removal of DH-AES and DH-BLOWFISH
saslserv: Use service_get_log_target() in sasl_logcommand().

This avoids inconsistency with logcommand().
Merge pull request #374 from ilbelkyr/saslserv-log-fix

saslserv: Use service_get_log_target() in sasl_logcommand().
Multiple marks per nick
Merge pull request #376 from errietta/multimark2

Multiple marks per nick
nickserv/enforce: make REGAIN login *you* rather than the target.

Previously, the change to make REGAIN identify as well would login the
user previously using the regained nick.
Merge pull request #377 from ilbelkyr/fix-regain-login

nickserv/enforce: make REGAIN login *you* rather than the target.
nickserv/enforce: Only login user to target account if they weren't already.

Also fixes a minor oversight in commit 9942cab where the user would not
be properly logged out.
Merge pull request #378 from ilbelkyr/really-fix-regain-login

nickserv/enforce: Only login user to target account if they weren't already.
Add channel output to flag lines in FLAGS command

A simple change to add the name of the channel to each flag line output for the FLAGS command. The advantage of this is that it makes it possible for a bot to be able to read the output of the command - without the #channel output it's not really possible to tell which channel a line in the flag response is concerning. With this change it is easy to key them - e.g. http://ur1.ca/i4hgr
protocol/inspircd: allow +J 5 as the comment promises
Merge pull request #379 from reality/patch-2

Add channel output to flag lines in FLAGS command
libathemecore: Deduplicate VERSION string building code
protocol/inspircd: Send a VERSION string that is similiar to what we send to other ircds