gain is read from code, loss from layerspec database table
Merge pull request #888 from Vizzuality/feature/fix-gain-loss-years

gain is read from code, loss from layerspec database table