completely new base for CLI scripts

This introduces an abstract base class that command line tools need to
inherit from. It provides a simple framework for registering accepted
command line options and provides commonly needed things like help
output and colored text.

Existing CLI scripts still need to be converted.
converted git tool to new CLI base
wrap help texts to fit typial terminal width
Improve encoding dir in rssListNamespace()
add date sort option for list mode of feed
fixed broken wordwrapping
removed superflous argument
converted some more CLI tools, minor CLI class updates
fixed tests
refactored bin/striplangs.php to new CLI interface
refactored bin/wantedpages.php to new CLI interface
CLI: send messages to STDERR
Authldap: implement change password in modifyUser
Allow authldap to change password with ldap superuser only if necessary
Hash and salt password with PassHash::ssha

Moved the block closer to the variable use (indent clearer)
Simplify code and remove unreachable check
log deprecated function calls FS#2399

This introduces a new dbg_deprecated() function which allows for easy
marking of deprecated functions. Each call is logged to the debuglog
when debuggin is enabled.
don't unlock based on empty session
refactored dwpage.php to new CLI
code reformat