Created getAlterDefinition for extension and function

Minor fix when removing table child object and restoring from operations
list

Minor fix on schema parser removing the check for empty attributes
inside comparison expressions