[BUG #6609] Added text selection module.
[BUG #6558] added support for text selection on non-input nodes