CORE-1945: Expand variables in sql format preconditions

Execute expandExpressions on the formattedSql precondition sql-check line before adding the precondation to the changeset
Isn't Liquibase compiled with 1.6 JDK? Switch statements for strings was added in JDK 7.