factor validateCreate to sfDoctrineRestGeneratorActions
Factor out common functions (with no generated code)
factor out validateIndex

factor out validateShow

factor out validateUpdate

factor out updateObjectFromRequest

factor out queryFetchOne

factor out postValidate

factor out update(Post)Validators

factor out doSave

factor out CreateObject

factor out createAction
factor out additional_params variable
factor out Pagination validators
factor out Sort validators
factor out getContent
Throw sfValidatorExceptions if validations fail
factor out Exception handling