CTemplate: Switch from CSmartPtr to std::shared_ptr

Signed-off-by: Uli Schlachter <psychon@znc.in>
WebModules: Switch from CSmartPtr to std::shared_ptr

Signed-off-by: Uli Schlachter <psychon@znc.in>
client auth: Switch from CSmartPtr to std::shared_ptr

Signed-off-by: Uli Schlachter <psychon@znc.in>
CSmartPtr: Remove, superseded by std::shared_ptr

Signed-off-by: Uli Schlachter <psychon@znc.in>
modpython: Switch from CSmartPtr to std::shared_ptr

Patch by DarthGandalf, I just committed it to git.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Merge commit 'refs/pull/665/head' of github.com:znc/znc
Resolve #621: Config option for allowed SSL ciphers

In the global section, for example:

    SSLCiphers = ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS

https://www.openssl.org/docs/apps/ciphers.html
https://hynek.me/articles/hardening-your-web-servers-ssl-ciphers
Fix modpython+shared_ptr
Merge pull request #717 from jpnurmi/ssl-ciphers

Resolve #621: Config option for allowed SSL ciphers
Make Detach, EnableChan and DisableChan accept multiple channels

These commands now take a comma/space separated list
log: add support for logging rules

By default, everything is logged. The first matching rule wins.
Negation (!) and wildcards (*) are supported.

For example, disable logging for all channels, except #znc:

    /msg *log setrules #znc !#*

Queries do not match either of the above rules, so they get logged.
Merge pull request #715 from jpnurmi/log

log: add support for logging rules
Merge pull request #714 from jpnurmi/clientcmd

Make Detach, EnableChan and DisableChan accept multiple channels
simple_away: apply auto-away on load if no user is connected
Support CZNC::GetUserMap() from modpython.

Thanks to lol768 for reporting it.
Merge commit 'refs/pull/722/head' of github.com:znc/znc
Fix #725: CHTTPSock memory leak - missing deflateEnd() call
Merge pull request #721 from markusj/modpy-can-have-args

modpython: Use has_args and args_help_text from module
Merge pull request #726 from jpnurmi/leak

Fix #725: CHTTPSock memory leak - missing deflateEnd() call
Merge pull request #727 from markusj/savebuff-on-autoclear-too

savebuff: do not skip channels with AutoClearChanBuffer==true