Aston Villa forward Andreas Weimann has signed a new three-year contract with the Premier League club.