Explicitly enable public action request formats

Instead of throwing 500 errors for requests for formats that are not
supported, return a 406. Actions that need to respond to formats other
than html must now explicitly enable them using the
enable_request_format helper.