Fix bugs reported in issue #123

- bind context menu event to tree root element
- fix context menu bug when there is more than one tree in the same page
- adding `selector` option allowing user control the context menu bind element