Support for --outputFile in command line (CORE-2066)

(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.