Outputfile

(first ever pull request) added support to integration Main to allow commands like updateSQL to write to an output file using --outputFile instead of only writing to System.out.