Support for CLI process title

RFC: https://wiki.php.net/rfc/cli_process_title

Duplicate of https://github.com/php/php-src/pull/280

This request is targetting the 5.5 branch.