A gambling-addict who swindled her local authority employers out of huge sums of cash while in charge of housing benefit payments has avoided jail.