refactor(trip-viewer): extract out api actions
refactor(trip-viewer): extract out api actions

opentripplanner/otp-react-redux,opentripplanner/otp-react-redux,opentripplanner/otp-react-redux,opentripplanner/otp-react-redux