Update "Form type extension" cookbook for Symfony 2.2

Some deprecated calls where made and have been replaced by their newer counterparts.
Merge pull request #375 from Greenflex/fix/create_form_extension

Update "Form type extension" cookbook for Symfony 2.2