added additional api for traversing the work structure.

Hi Shaun and Ninh,

I've added the api to retrieve all leaf nodes within a work structure.  

Cheers

Shuang