Merge pull request #24 from Recras/typeCasting

Add type casting to generated module
Merge branch 'master' of github.com:xavierlacot/sfDoctrineRestGeneratorPlugin