Lightgrid lighting for polygons (creep)

var_AmbientLight is disabled, because it causes Shader Link errors
on GL cards with too few varyings.
Fix for black creep in some places.
Missing return value.
Merge branch 'master' into resources
Give back resources for reverted buildings
Only mine if powered