Make public method `isTty()` from Console class

There are other cases you may want to know if you are in an interactive shell or not.
Nice. Although I would prefer one tool for fixing things, having both `phpcbf` as part of PHP_CodeSniffer and `php-cs-fixer` as separate tools is a waste of resources IMHO.