Add an `-o` and `--output` options to allow command line setting of the
output file (matching `\o` command).
Add tests for the new options, Fix my bugs in the original code.
Merge remote-tracking branch 'origin/master' into add-output-command-line
Update to default/latest with new method name.
merge tjoneslo: Add an `-o` and `--output` options

Merge pull request #53 from FoundationDB/sql-layer-client-tools/add-output-command-line
https://github.com/FoundationDB/sql-layer-client-tools/pull/53
Update CLIClient to track the last error code recieved and return that
as an exit code if the last command fails
Ensure the Dump/Load clients return non-zero error code if the Dump/Load
fails.
Ensure lastError doesn't exceed 255. 

Remove static variable in favor of return codes.
Fix two test bugs. Split CLIClient#main() into two parts, one for
testing with no call to system.exit(), the other for live system, which
does call system.exit().

Als add verify that e.getSQLState() returns a valid SQL State code.
merge tjoneslo: Exit code on command

Merge pull request #54 from FoundationDB/sql-layer-client-tools/exit-code-on-command
https://github.com/FoundationDB/sql-layer-client-tools/pull/54
Add an --on-error and \onerror to control how the CLI returns errors to
the user. Including tests.
Address merge comments and add a few updates.

- Make the \i command return the exit code so a failure in the included
file get propgated out to the caller

- Add an optional exit code parameter to \q to allow exiting with a
fixed return code. 

- make \onerror with no parameters print current status,
- make \onerror CONTINUE with no status work correctly. 
- add more error details for bad version of \onerror

And, of course, update the tests with new functionality.
merge tjoneslo: Add an --on-error and \onerror to control how the CLI returns errors

Merge pull request #55 from FoundationDB/sql-layer-client-tools/on-error-backslash
https://github.com/FoundationDB/sql-layer-client-tools/pull/55
Helper for retrying statements
Use helper in test cleanup
Use helper in test init
Use helper in DumpClient
Clean schema in before and helper in other tests
Naming consistency
Add the LineReader using the QueryBuffer to parse/split the lines to
allow more intelligent processing of SQL files. Not currently hooked up
to anything.