With affordable housing still lagging behind the state’s goal, Farmington’s planning and zoning commission approved a controversial moratorium on new single and multi-family subdivisions until the town can find ways to induce more affordable housing.