added trait for nested set
Merge pull request #954 from renaatdemuynck/master

added trait for nested set