improve fullLayout._has()
improve fullLayout._has()

- allow fullLayout._has(/*trace type*/) to work
- use registry category hash object (instead of categories.indexOf)
  to find categories in fullLayout._modules

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