sort query options in filename and add :else clause to fallback to current filename
fixed routes_test, updated media_types_test to have options, and added tests for query_options