Arsenal have confirmed that goalkeeper Wojciech Szczesny has signed a new long-term contract at Emirates Stadium.