Functional test for GRAILS-9810.

I have updated the content negotiation functional test to check that Grails
correctly handles an accept header and returns the appropriate content type.