Update _elementOrElementsByType

Fix #34

Example:

```javascript
execute_script <<JS

var opts = {"typeArray": ["UIAStaticText"],
 "onlyFirst": true,
 "onlyVisible": true,
 "name": {
   "target": "Transitions, Shows UIViewAnimationTransitions",
   "substring": false,
   "insensitive": false
 }};

$.mainWindow()._elementOrElementsByType(opts);
JS
```