Changes to make the SQLite shell more friendly on OpenVMS.

Basically, we use the LIB$xxx_TIMER routines for tracking execution
times.  We also use SMG$READ_COMPOSED_LINE to handle the input, editing
and command recall.