locking mechanism for encounter_type - TRUNK-4033

[TRUNK-4033] made some changes

added a testcase, and made some other changes

[TRUNK-4033] added a disabled attribute if encounterTypesLocked == 'true'

[TRUNK-4033] added a testcase i.e. EncounterService.saveEncounterType_shouldNotSaveEncounterTypeIfEncounterTypesAreLocked()

[TRUNK-4033] added some other testcases and made some changes

Removed or converted throws clauses for EncounterTypeLockedException to APIException - TRUNK-4033

Removed unused import in HibernateEncounterDAO

Follow up to fix compilation issues - TRUNK-4033

Second follow up to fix compilation issues - TRUNK-4033

Third follow up to fix compilation issues - TRUNK-4033

Fourth follow up to fix compilation issues - TRUNK-4033