Allow nested ui elements

This pull request allows nested ui elements.

For example:

```js
ui: {
  segment: [
    'input[name=seg0_from]',
    'input[name=seg1_from]'
  ]
}
```

will be accessible by:

```js
this.ui.segment[0];
```