Make geogit-console work properly with scripts and stdin/out redirects.

By making sure input is always read from the jline console, since
jline spawns a thread in order not to block during text reading
from the console, setting an "interactive" flag to false in case of
I/O redirects, and not adding interactive features like progress
reporting, colors in output text, command history, etc if not in
interactive mode.