add Query.traverse method
py2.6 doesn't support set notation
Merge branch 'traverse' into unstable