set the matched media type as a request attribute
Merge pull request #621 from FriendsOfSymfony/media_type

set the matched media type as a request attribute