Make sqlline.sh work better under cygwin.

We detect cygwin and set jline terminal explicitly; this is a workaround for
https://github.com/jline/jline2/issues/62.
diff --git a/sqlline b/sqlline
index 9ca6910..a766321 100755
--- a/sqlline
+++ b/sqlline
@@ -32,10 +32,14 @@
 esac
 
 CP="target/classes:target/test-classes:target/dependencies/*"
+OPTS=
 if [ "$cygwin" ]; then
   CP=$(cygpath -wp "$CP")
+
+  # Work around https://github.com/jline/jline2/issues/62
+  OPTS=-Djline.terminal=jline.UnixTerminal
 fi
 
-exec java -cp "${CP}" sqlline.SqlLine "$@"
+exec java $OPTS -cp "${CP}" sqlline.SqlLine "$@"
 
 # End sqlline