+IsInputRedirected property for ConsoleAdapter.
AppController now exits with 1 if input is not redirected. +Test

Fixing old tests that suddenly depend on IConsoleAdapter via DI.