added DragEvent, DOMEvent and UIEvent

- added DragEvent, DOMEvent and UIEvent
- resolved naming issues
- added snippets
- updated doc