A home for earthquake survivors has won the prize for building of the year at the World Architecture Festival in Berlin.