Edinburgh Council is facing “serious questions” after it emerged it is breaking the law “on an industrial scale” by placing homeless people in 30 unlicensed houses in multiple occupation (HMOs) across the city.