Polymers of esters containing glycidyl groups of alpha-beta ethylenically unsaturated carboxylic acids; reaction products thereof