Made Select accept both text and name as config

`name` is more prior than `text`
Optimized Command extension

- Fixed code style
- Attached `handleCommand` to prototype
- Removed `e` & `e.target` retrieval compatibiity code in
`handleCommand` since `helper.addDOMEvent` handles it