AttachDom tests and created getter for Component/Container

- [ ] @Aintaer 
Not quite idiomatic style here.
```js
return this._nodes && this._nodes.slice() || [];
```