plot api: refactor Plotly.restyle
plot api: refactor Plotly.restyle

- split flag-finding logic with plot-routine sequence building

asolagmbh/plotly.js,iongroup/plotly.js,iongroup/plotly.js,asolagmbh/plotly.js,plotly/plotly.js,plotly/plotly.js,iongroup/plotly.js,asolagmbh/plotly.js,aburato/plotly.js,etpinard/plotly.js,aburato/plotly.js,etpinard/plotly.js,etpinard/plotly.js,plotly/plotly.js,plotly/plotly.js