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
merge with upstream
Deleting log file
changing comments
Merge pull request #389 from surangak/TRUNK-4044

EncounterType and EncounterRole names must be unique