Added global events for Deferred

We have `resolve` and `reject` event which will fire whever a
`Deferred` instance of resolved or rejected

Fixed #40
Supported HTMLElement as View's container