Refactored Selection addressing scheme.

Now we use the position based addressing scheme (componentPos, charPos)
internally. For convenience, dm.Selection provides method to use path
based addressing (path, charPos).