Generate type casting code in all cases

Even if there are no date_format or tag_name field configuration
directives

Fixes xavierlacot/sfDoctrineRestGeneratorPlugin#25
Merge pull request #26 from Recras/typeCasting

Generate type casting code in all cases