update

- fix losing sigil when multiple sigil-class defined in one xtemplate
- add $class to instance [type.oop.js]
- refactor dialog.js
- rename ui.* to lowercase