A building firm and its director have been fined for health and safety failings after a house partially collapsed in Manchester.