Allow OPTIONS requests for formats responded to inside scopes

Because #generate_options_routes! is called after all scopes are unwound, we have to go back and grab the relevant formats when defining the matching OPTIONS routes.