Xabi Alonso announces he is leaving Bayer Leverkusen at the end of the season.