MOD input arguments of api_data::query_api

- new code in the main is for the preparation of stop information
- Add arguments optional_field_name and optional_field_value, instead of
querying trip_id, shape_id, or stop_id specifically
- Add test cases for the new arguments

TODO: add query term for t_range to avoid duplication in GTFS
information