Add system properties for JLineConsole's input thread waiting strategy.

The default is blocking on Windows and 10ms of sleep on other OSes. Add
a system property to override OS detection for the purpose of
determining how our thread should wait for input. Also add a property to
override the waiting strategy directly.