York charity awarded cash to build homes amid planning objections