Liverpool announced the signing of FC Augsburg defender Ragnar Klavan to a long-term contract in a £4.2million move.