Make TerminalLineSettings static

This change addresses issues like #163 and possibly other problems where jline2 would save it's own stty settings as though they were the ones it should be restoring later.