Update _elementOrElementsByType

Example:

execute_script <<JS

var opts = {"typeArray": ["UIAStaticText"],
 "onlyFirst": true,
 "onlyVisible": true,
 "name": {
   "target": "Transitions, Shows UIViewAnimationTransitions",
   "substring": false,
   "insensitive": false
 }};

$.mainWindow()._elementOrElementsByType(opts);
JS
Merge pull request #36 from bootstraponline/_elementOrElementsByType

Update _elementOrElementsByType