Changes for TRUNK-4044

formatting changes

missing segments

adding correctly formatted liquibase file

Addressing review comments

 adding valid prepared statements instead of mere statements

Fixing failing unit test

Updated liquibase changeset files

Validation and language support

fixing validator class

liquibase validation changes

fixing recent review comments

fixing unit test

Amendments for TRUNK-4044