Update "Form type extension" cookbook for Symfony 2.2

Some deprecated calls where made and have been replaced by their newer counterparts.