Use PlainTextHandler when in CLI mode
Use PHP_SAPI constant
Merge pull request #222 from richardhinkamp/silex-cli

Use PlainTextHandler when in CLI mode