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 #3 from Recras/typeCasting

Generate type casting code in all cases