Added support for printing the contents of the patch files

Added support for printing the contents of the patch files instead of executing them. With this option SQL changes can be output to STDOUT for handling updates to multiple databases in other ways.

Option --add-to-changlog, default value FALSE. If set to yes/true, the patches will be marked as applied.