Make 'listBuildTreeRefs' accessible via UI.

Adds a new hidden command 'sandbox list-sources'.
Improve error handling in 'sandbox delete'.