OVT-7653: Validations for get and delete

Validations for get and delete arguments for codes with some
refactoring.
OVT-7653: Validation for inserting codeElement
OVT-7653: Validation for updating code element
OVT-7653: Validation for delete and fetch for code element