Preparations and post processing SQL

Added support for including free form SQL before and after the generated
MERGE statements.