Updated the presto-cli to return a proper code (0 for success, 1 otherwise)
when returning from main() Also added a new boolean flag --stop-on-error
that determines whether to stop execution immediately if any query fails
in batch mode