Real Madrid defender Raul Albiol has penned a new contract that will keep him at the Bernabeu until 2017, the club has announced.