set a _format requirement in generated routes
Merge pull request #440 from FriendsOfSymfony/format_requirement

set a _format requirement in generated routes